Color #31293c
A muted very dark purple.
Conversions
#31293c
rgb(49, 41, 60)
hsl(265.3, 18.8%, 19.8%)
hsv(265.3, 31.7%, 23.5%)
cmyk(18.3%, 31.7%, 0%, 76.5%)
lab(18.21, 8.33, -10.76)
lch(18.21, 13.61, 307.75)
oklch(29.8%, 0.0354, 303.6)
hwb(265.3, 16.1%, 76.5%)
Harmony colors
Accessibility
White text reads better on this background (13.88:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2e2e38 · ΔE 6.6
Deuteranopia
#2e2f37 · ΔE 8.1
Tritanopia
#313534 · ΔE 14.5
Achromatopsia
#2c2c2c · ΔE 12
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31293c;
bg-[#31293c]
Related colors
Frequently asked questions
#31293c (#31293c) is rgb(49, 41, 60) in RGB.
No, #31293c 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 #31293c, or check how it holds up for accessibility.