Color #313327
A nearly neutral, gray-leaning very dark green.
Conversions
#313327
rgb(49, 51, 39)
hsl(70, 13.3%, 17.6%)
hsv(70, 23.5%, 20%)
cmyk(3.9%, 0%, 23.5%, 80%)
lab(20.7, -3.47, 7.34)
lch(20.7, 8.12, 115.3)
oklch(31.5%, 0.0208, 115.33)
hwb(70, 15.3%, 80%)
Harmony colors
Accessibility
White text reads better on this background (12.86:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#32322a · ΔE 2.6
Deuteranopia
#32322b · ΔE 3.1
Tritanopia
#312d2d · ΔE 9.4
Achromatopsia
#323232 · ΔE 7.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313327;
bg-[#313327]
Related colors
Frequently asked questions
#313327 (#313327) is rgb(49, 51, 39) in RGB.
No, #313327 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 #313327, or check how it holds up for accessibility.