Color #3a265d
A moderately saturated dark purple.
Conversions
#3a265d
rgb(58, 38, 93)
hsl(261.8, 42%, 25.7%)
hsv(261.8, 59.1%, 36.5%)
cmyk(37.6%, 59.1%, 0%, 63.5%)
lab(20.35, 23.05, -29.67)
lch(20.35, 37.57, 307.84)
oklch(32.3%, 0.0948, 297.65)
hwb(261.8, 14.9%, 63.5%)
Harmony colors
Accessibility
White text reads better on this background (13:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#323254 · ΔE 7.4
Deuteranopia
#333551 · ΔE 9.5
Tritanopia
#394b49 · ΔE 24.8
Achromatopsia
#313131 · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a265d;
bg-[#3a265d]
Related colors
Frequently asked questions
#3a265d (#3a265d) is rgb(58, 38, 93) in RGB.
No, #3a265d is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #3a265d, or check how it holds up for accessibility.