Color #2e1f31
A muted very dark magenta.
Conversions
#2e1f31
rgb(46, 31, 49)
hsl(290, 22.5%, 15.7%)
hsv(290, 36.7%, 19.2%)
cmyk(6.1%, 36.7%, 0%, 80.8%)
lab(14.3, 11.25, -9.05)
lch(14.3, 14.44, 321.19)
oklch(26.6%, 0.0389, 320.74)
hwb(290, 12.2%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (15.48:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#28282d · ΔE 10.9
Deuteranopia
#292a2c · ΔE 13
Tritanopia
#2d2a29 · ΔE 12.9
Achromatopsia
#242424 · ΔE 13.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e1f31;
bg-[#2e1f31]
Related colors
Frequently asked questions
#2e1f31 (#2e1f31) is rgb(46, 31, 49) in RGB.
No, #2e1f31 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 #2e1f31, or check how it holds up for accessibility.