Color #3a2b57
A muted dark purple.
Conversions
#3a2b57
rgb(58, 43, 87)
hsl(260.5, 33.8%, 25.5%)
hsv(260.5, 50.6%, 34.1%)
cmyk(33.3%, 50.6%, 0%, 65.9%)
lab(21.27, 17.93, -24.23)
lch(21.27, 30.14, 306.5)
oklch(32.9%, 0.0769, 297.73)
hwb(260.5, 16.9%, 65.9%)
Harmony colors
Accessibility
White text reads better on this background (12.63:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#34344f · ΔE 7.2
Deuteranopia
#35364d · ΔE 8.9
Tritanopia
#394846 · ΔE 23.8
Achromatopsia
#333333 · ΔE 19.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a2b57;
bg-[#3a2b57]
Related colors
Frequently asked questions
#3a2b57 (#3a2b57) is rgb(58, 43, 87) in RGB.
No, #3a2b57 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 #3a2b57, or check how it holds up for accessibility.