Color #2e1526
A muted very dark magenta.
Conversions
#2e1526
rgb(46, 21, 38)
hsl(319.2, 37.3%, 13.1%)
hsv(319.2, 54.3%, 18%)
cmyk(0%, 54.3%, 17.4%, 82%)
lab(10.97, 15.63, -6.12)
lch(10.97, 16.79, 338.62)
oklch(23.9%, 0.0487, 340.45)
hwb(319.2, 8.2%, 82%)
Harmony colors
Accessibility
White text reads better on this background (16.78:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252523 · ΔE 17.5
Deuteranopia
#272822 · ΔE 21.3
Tritanopia
#2d201f · ΔE 10.7
Achromatopsia
#1d1d1d · ΔE 15.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e1526;
bg-[#2e1526]
Related colors
Frequently asked questions
#2e1526 (#2e1526) is rgb(46, 21, 38) in RGB.
No, #2e1526 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 #2e1526, or check how it holds up for accessibility.