Color #311c2a
A muted very dark magenta.
Conversions
#311c2a
rgb(49, 28, 42)
hsl(320, 27.3%, 15.1%)
hsv(320, 42.9%, 19.2%)
cmyk(0%, 42.9%, 14.3%, 80.8%)
lab(13.54, 12.99, -5.14)
lch(13.54, 13.97, 338.41)
oklch(26%, 0.0403, 340.13)
hwb(320, 11%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (15.79:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#292927 · ΔE 15.6
Deuteranopia
#2a2c26 · ΔE 19.8
Tritanopia
#302524 · ΔE 9.6
Achromatopsia
#232323 · ΔE 13.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #311c2a;
bg-[#311c2a]
Related colors
Frequently asked questions
#311c2a (#311c2a) is rgb(49, 28, 42) in RGB.
No, #311c2a 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 #311c2a, or check how it holds up for accessibility.