Color #3a2b5b
A muted dark blue.
Conversions
#3a2b5b
rgb(58, 43, 91)
hsl(258.8, 35.8%, 26.3%)
hsv(258.8, 52.7%, 35.7%)
cmyk(36.3%, 52.7%, 0%, 64.3%)
lab(21.52, 19.13, -26.48)
lch(21.52, 32.67, 305.85)
oklch(33.1%, 0.0831, 295.98)
hwb(258.8, 16.9%, 64.3%)
Harmony colors
Accessibility
White text reads better on this background (12.53:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#343452 · ΔE 6.8
Deuteranopia
#353650 · ΔE 8.3
Tritanopia
#394b49 · ΔE 24.5
Achromatopsia
#343434 · ΔE 20.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a2b5b;
bg-[#3a2b5b]
Related colors
Frequently asked questions
#3a2b5b (#3a2b5b) is rgb(58, 43, 91) in RGB.
No, #3a2b5b 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 #3a2b5b, or check how it holds up for accessibility.