Color #2e1228
A moderately saturated very dark magenta.
Conversions
#2e1228
rgb(46, 18, 40)
hsl(312.9, 43.8%, 12.5%)
hsv(312.9, 60.9%, 18%)
cmyk(0%, 60.9%, 13%, 82%)
lab(10.31, 18.02, -8.62)
lch(10.31, 19.98, 334.44)
oklch(23.4%, 0.0573, 335.99)
hwb(312.9, 7.1%, 82%)
Harmony colors
Accessibility
White text reads better on this background (17.03:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252424 · ΔE 16.9
Deuteranopia
#262823 · ΔE 23.2
Tritanopia
#2d201f · ΔE 12.7
Achromatopsia
#1c1c1c · ΔE 17.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e1228;
bg-[#2e1228]
Related colors
Frequently asked questions
#2e1228 (#2e1228) is rgb(46, 18, 40) in RGB.
No, #2e1228 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 #2e1228, or check how it holds up for accessibility.