Color #311e33
A muted very dark magenta.
Conversions
#311e33
rgb(49, 30, 51)
hsl(294.3, 25.9%, 15.9%)
hsv(294.3, 41.2%, 20%)
cmyk(3.9%, 41.2%, 0%, 80%)
lab(14.52, 13.68, -10.12)
lch(14.52, 17.02, 323.51)
oklch(26.9%, 0.0463, 323.43)
hwb(294.3, 11.8%, 80%)
Harmony colors
Accessibility
White text reads better on this background (15.39:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2a2f · ΔE 12.8
Deuteranopia
#2b2c2e · ΔE 14.8
Tritanopia
#302b2a · ΔE 13.8
Achromatopsia
#252525 · ΔE 15
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #311e33;
bg-[#311e33]
Related colors
Frequently asked questions
#311e33 (#311e33) is rgb(49, 30, 51) in RGB.
No, #311e33 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 #311e33, or check how it holds up for accessibility.