Color #311e38
A muted very dark purple.
Conversions
#311e38
rgb(49, 30, 56)
hsl(283.8, 30.2%, 16.9%)
hsv(283.8, 46.4%, 22%)
cmyk(12.5%, 46.4%, 0%, 78%)
lab(14.77, 14.95, -13.27)
lch(14.77, 19.99, 318.41)
oklch(27.1%, 0.0532, 316.52)
hwb(283.8, 11.8%, 78%)
Harmony colors
Accessibility
White text reads better on this background (15.29:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2a33 · ΔE 12.1
Deuteranopia
#2b2c32 · ΔE 14
Tritanopia
#302f2e · ΔE 17
Achromatopsia
#252525 · ΔE 16.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #311e38;
bg-[#311e38]
Related colors
Frequently asked questions
#311e38 (#311e38) is rgb(49, 30, 56) in RGB.
No, #311e38 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 #311e38, or check how it holds up for accessibility.