Color #331f3c
A muted very dark purple.
Conversions
#331f3c
rgb(51, 31, 60)
hsl(281.4, 31.9%, 17.8%)
hsv(281.4, 48.3%, 23.5%)
cmyk(15%, 48.3%, 0%, 76.5%)
lab(15.54, 16.06, -14.88)
lch(15.54, 21.89, 317.18)
oklch(27.8%, 0.0579, 314.79)
hwb(281.4, 12.2%, 76.5%)
Harmony colors
Accessibility
White text reads better on this background (14.98:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2b37 · ΔE 11.2
Deuteranopia
#2d2e35 · ΔE 14.4
Tritanopia
#323231 · ΔE 18.5
Achromatopsia
#272727 · ΔE 17.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #331f3c;
bg-[#331f3c]
Related colors
Frequently asked questions
#331f3c (#331f3c) is rgb(51, 31, 60) in RGB.
No, #331f3c 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 #331f3c, or check how it holds up for accessibility.