Color #2e1f38
A muted very dark purple.
Conversions
#2e1f38
rgb(46, 31, 56)
hsl(276, 28.7%, 17.1%)
hsv(276, 44.6%, 22%)
cmyk(17.9%, 44.6%, 0%, 78%)
lab(14.66, 13.1, -13.48)
lch(14.66, 18.8, 314.18)
oklch(27%, 0.0493, 310.97)
hwb(276, 12.2%, 78%)
Harmony colors
Accessibility
White text reads better on this background (15.34:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#282833 · ΔE 10
Deuteranopia
#292a32 · ΔE 11.9
Tritanopia
#2d2f2e · ΔE 17.1
Achromatopsia
#252525 · ΔE 15.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e1f38;
bg-[#2e1f38]
Related colors
Frequently asked questions
#2e1f38 (#2e1f38) is rgb(46, 31, 56) in RGB.
No, #2e1f38 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 #2e1f38, or check how it holds up for accessibility.