Color #311c32
A muted very dark magenta.
Conversions
#311c32
rgb(49, 28, 50)
hsl(297.3, 28.2%, 15.3%)
hsv(297.3, 44%, 19.6%)
cmyk(2%, 44%, 0%, 80.4%)
lab(13.91, 14.81, -10.34)
lch(13.91, 18.06, 325.08)
oklch(26.4%, 0.0495, 325.28)
hwb(297.3, 11%, 80.4%)
Harmony colors
Accessibility
White text reads better on this background (15.64:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#29292e · ΔE 13.5
Deuteranopia
#2a2c2d · ΔE 16.5
Tritanopia
#302a29 · ΔE 14.1
Achromatopsia
#232323 · ΔE 15.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #311c32;
bg-[#311c32]
Related colors
Frequently asked questions
#311c32 (#311c32) is rgb(49, 28, 50) in RGB.
No, #311c32 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 #311c32, or check how it holds up for accessibility.