Color #31243d
A muted very dark purple.
Conversions
#31243d
rgb(49, 36, 61)
hsl(271.2, 25.8%, 19%)
hsv(271.2, 41%, 23.9%)
cmyk(19.7%, 41%, 0%, 76.1%)
lab(16.76, 12.11, -13.7)
lch(16.76, 18.29, 311.47)
oklch(28.7%, 0.0476, 307.5)
hwb(271.2, 14.1%, 76.1%)
Harmony colors
Accessibility
White text reads better on this background (14.48:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2c38 · ΔE 9
Deuteranopia
#2d2e37 · ΔE 10.9
Tritanopia
#303433 · ΔE 17.4
Achromatopsia
#292929 · ΔE 15
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31243d;
bg-[#31243d]
Related colors
Frequently asked questions
#31243d (#31243d) is rgb(49, 36, 61) in RGB.
No, #31243d 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 #31243d, or check how it holds up for accessibility.