Color #312332
A muted very dark magenta.
Conversions
#312332
rgb(49, 35, 50)
hsl(296, 17.6%, 16.7%)
hsv(296, 30%, 19.6%)
cmyk(2%, 30%, 0%, 80.4%)
lab(15.93, 9.94, -7.25)
lch(15.93, 12.3, 323.89)
oklch(27.9%, 0.0335, 324.22)
hwb(296, 13.7%, 80.4%)
Harmony colors
Accessibility
White text reads better on this background (14.82:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2b2f · ΔE 9.6
Deuteranopia
#2c2d2e · ΔE 12.3
Tritanopia
#302c2c · ΔE 10.4
Achromatopsia
#282828 · ΔE 12.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #312332;
bg-[#312332]
Related colors
Frequently asked questions
#312332 (#312332) is rgb(49, 35, 50) in RGB.
No, #312332 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 #312332, or check how it holds up for accessibility.