Color #312137
A muted very dark purple.
Conversions
#312137
rgb(49, 33, 55)
hsl(283.6, 25%, 17.3%)
hsv(283.6, 40%, 21.6%)
cmyk(10.9%, 40%, 0%, 78.4%)
lab(15.57, 12.6, -11.33)
lch(15.57, 16.94, 318.04)
oklch(27.7%, 0.0451, 316.53)
hwb(283.6, 12.9%, 78.4%)
Harmony colors
Accessibility
White text reads better on this background (14.96:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b33 · ΔE 10.9
Deuteranopia
#2c2d32 · ΔE 12.8
Tritanopia
#302f2e · ΔE 15.3
Achromatopsia
#272727 · ΔE 14.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #312137;
bg-[#312137]
Related colors
Frequently asked questions
#312137 (#312137) is rgb(49, 33, 55) in RGB.
No, #312137 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 #312137, or check how it holds up for accessibility.