Color #331e2c
A muted very dark magenta.
Conversions
#331e2c
rgb(51, 30, 44)
hsl(320, 25.9%, 15.9%)
hsv(320, 41.2%, 20%)
cmyk(0%, 41.2%, 13.7%, 80%)
lab(14.48, 12.9, -5.13)
lch(14.48, 13.88, 338.31)
oklch(26.8%, 0.04, 340.11)
hwb(320, 11.8%, 80%)
Harmony colors
Accessibility
White text reads better on this background (15.41:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b29 · ΔE 15.5
Deuteranopia
#2c2e28 · ΔE 19.7
Tritanopia
#322726 · ΔE 9.6
Achromatopsia
#252525 · ΔE 13.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #331e2c;
bg-[#331e2c]
Related colors
Frequently asked questions
#331e2c (#331e2c) is rgb(51, 30, 44) in RGB.
No, #331e2c 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 #331e2c, or check how it holds up for accessibility.