Color #3a2c57
A muted dark blue.
Conversions
#3a2c57
rgb(58, 44, 87)
hsl(259.5, 32.8%, 25.7%)
hsv(259.5, 49.4%, 34.1%)
cmyk(33.3%, 49.4%, 0%, 65.9%)
lab(21.54, 17.26, -23.79)
lch(21.54, 29.39, 305.96)
oklch(33.1%, 0.075, 297.11)
hwb(259.5, 17.3%, 65.9%)
Harmony colors
Accessibility
White text reads better on this background (12.52:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#34344f · ΔE 6.8
Deuteranopia
#35364d · ΔE 8.5
Tritanopia
#394846 · ΔE 23.6
Achromatopsia
#343434 · ΔE 19.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a2c57;
bg-[#3a2c57]
Related colors
Frequently asked questions
#3a2c57 (#3a2c57) is rgb(58, 44, 87) in RGB.
No, #3a2c57 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 #3a2c57, or check how it holds up for accessibility.