Color #3a2b52
A muted dark purple.
Conversions
#3a2b52
rgb(58, 43, 82)
hsl(263.1, 31.2%, 24.5%)
hsv(263.1, 47.6%, 32.2%)
cmyk(29.3%, 47.6%, 0%, 67.8%)
lab(20.97, 16.46, -21.36)
lch(20.97, 26.97, 307.62)
oklch(32.5%, 0.0693, 300.34)
hwb(263.1, 16.9%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (12.75:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#34344b · ΔE 7.9
Deuteranopia
#353649 · ΔE 9.7
Tritanopia
#394443 · ΔE 22
Achromatopsia
#323232 · ΔE 18.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a2b52;
bg-[#3a2b52]
Related colors
Frequently asked questions
#3a2b52 (#3a2b52) is rgb(58, 43, 82) in RGB.
No, #3a2b52 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 #3a2b52, or check how it holds up for accessibility.