Color #31232b
A muted very dark magenta.
Conversions
#31232b
rgb(49, 35, 43)
hsl(325.7, 16.7%, 16.5%)
hsv(325.7, 28.6%, 19.2%)
cmyk(0%, 28.6%, 12.2%, 80.8%)
lab(15.64, 8.31, -2.71)
lch(15.64, 8.74, 341.94)
oklch(27.6%, 0.0252, 343.65)
hwb(325.7, 13.7%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (14.94:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2b29 · ΔE 10.7
Deuteranopia
#2c2d29 · ΔE 13.4
Tritanopia
#302827 · ΔE 6.6
Achromatopsia
#272727 · ΔE 9.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31232b;
bg-[#31232b]
Related colors
Frequently asked questions
#31232b (#31232b) is rgb(49, 35, 43) in RGB.
No, #31232b 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 #31232b, or check how it holds up for accessibility.