Color #311b2c
A muted very dark magenta.
Conversions
#311b2c
rgb(49, 27, 44)
hsl(313.6, 28.9%, 14.9%)
hsv(313.6, 44.9%, 19.2%)
cmyk(0%, 44.9%, 10.2%, 80.8%)
lab(13.34, 14.11, -6.88)
lch(13.34, 15.7, 334.01)
oklch(25.9%, 0.0446, 335.5)
hwb(313.6, 10.6%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (15.86:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#292929 · ΔE 14.9
Deuteranopia
#2a2c28 · ΔE 19.7
Tritanopia
#302625 · ΔE 11.2
Achromatopsia
#222222 · ΔE 14.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #311b2c;
bg-[#311b2c]
Related colors
Frequently asked questions
#311b2c (#311b2c) is rgb(49, 27, 44) in RGB.
No, #311b2c 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 #311b2c, or check how it holds up for accessibility.