Color #331f2c
A muted very dark magenta.
Conversions
#331f2c
rgb(51, 31, 44)
hsl(321, 24.4%, 16.1%)
hsv(321, 39.2%, 20%)
cmyk(0%, 39.2%, 13.7%, 80%)
lab(14.77, 12.21, -4.7)
lch(14.77, 13.08, 338.95)
oklch(27%, 0.0377, 340.65)
hwb(321, 12.2%, 80%)
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
#2c2b29 · ΔE 14.2
Deuteranopia
#2d2e29 · ΔE 17.8
Tritanopia
#322726 · ΔE 9
Achromatopsia
#252525 · ΔE 13.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #331f2c;
bg-[#331f2c]
Related colors
Frequently asked questions
#331f2c (#331f2c) is rgb(51, 31, 44) in RGB.
No, #331f2c is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #331f2c, or check how it holds up for accessibility.