Color #312e36
A nearly neutral, gray-leaning very dark purple.
Conversions
#312e36
rgb(49, 46, 54)
hsl(262.5, 8%, 19.6%)
hsv(262.5, 14.8%, 21.2%)
cmyk(9.3%, 14.8%, 0%, 78.8%)
lab(19.53, 3.26, -4.62)
lch(19.53, 5.65, 305.21)
oklch(30.8%, 0.0147, 302.5)
hwb(262.5, 18%, 78.8%)
Harmony colors
Accessibility
White text reads better on this background (13.34:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#303034 · ΔE 3.4
Deuteranopia
#303034 · ΔE 3.4
Tritanopia
#313332 · ΔE 7.4
Achromatopsia
#2f2f2f · ΔE 5.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #312e36;
bg-[#312e36]
Related colors
Frequently asked questions
#312e36 (#312e36) is rgb(49, 46, 54) in RGB.
No, #312e36 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 #312e36, or check how it holds up for accessibility.