Color #2e1537
A moderately saturated very dark purple.
Conversions
#2e1537
rgb(46, 21, 55)
hsl(284.1, 44.7%, 14.9%)
hsv(284.1, 61.8%, 21.6%)
cmyk(16.4%, 61.8%, 0%, 78.4%)
lab(11.91, 19.64, -17.08)
lch(11.91, 26.03, 318.99)
oklch(24.9%, 0.069, 316.41)
hwb(284.1, 8.2%, 78.4%)
Harmony colors
Accessibility
White text reads better on this background (16.42:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252531 · ΔE 13.5
Deuteranopia
#272830 · ΔE 15.8
Tritanopia
#2d2c2a · ΔE 20.8
Achromatopsia
#1f1f1f · ΔE 19
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e1537;
bg-[#2e1537]
Related colors
Frequently asked questions
#2e1537 (#2e1537) is rgb(46, 21, 55) in RGB.
No, #2e1537 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 #2e1537, or check how it holds up for accessibility.