Color #311e2d
A muted very dark magenta.
Conversions
#311e2d
rgb(49, 30, 45)
hsl(312.6, 24.1%, 15.5%)
hsv(312.6, 38.8%, 19.2%)
cmyk(0%, 38.8%, 8.2%, 80.8%)
lab(14.24, 12.26, -6.25)
lch(14.24, 13.76, 332.99)
oklch(26.6%, 0.0388, 334.49)
hwb(312.6, 11.8%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (15.51:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2a2a · ΔE 13.6
Deuteranopia
#2b2c29 · ΔE 16.8
Tritanopia
#302727 · ΔE 9.7
Achromatopsia
#242424 · ΔE 13.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #311e2d;
bg-[#311e2d]
Related colors
Frequently asked questions
#311e2d (#311e2d) is rgb(49, 30, 45) in RGB.
No, #311e2d 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 #311e2d, or check how it holds up for accessibility.