Color #3a2541
A muted dark purple.
Conversions
#3a2541
rgb(58, 37, 65)
hsl(285, 27.5%, 20%)
hsv(285, 43.1%, 25.5%)
cmyk(10.8%, 43.1%, 0%, 74.5%)
lab(18.38, 15.9, -13.86)
lch(18.38, 21.09, 318.92)
oklch(30.3%, 0.0563, 317.38)
hwb(285, 14.5%, 74.5%)
Harmony colors
Accessibility
White text reads better on this background (13.81:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#32323c · ΔE 12.5
Deuteranopia
#33353a · ΔE 15.7
Tritanopia
#393736 · ΔE 17.1
Achromatopsia
#2d2d2d · ΔE 16.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a2541;
bg-[#3a2541]
Related colors
Frequently asked questions
#3a2541 (#3a2541) is rgb(58, 37, 65) in RGB.
No, #3a2541 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 #3a2541, or check how it holds up for accessibility.