Color #2e1e4e
A moderately saturated dark purple.
Conversions
#2e1e4e
rgb(46, 30, 78)
hsl(260, 44.4%, 21.2%)
hsv(260, 61.5%, 30.6%)
cmyk(41%, 61.5%, 0%, 69.4%)
lab(15.8, 20.36, -26.97)
lch(15.8, 33.79, 307.05)
oklch(28.3%, 0.085, 295.87)
hwb(260, 11.8%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (14.87:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#282846 · ΔE 6.9
Deuteranopia
#292a44 · ΔE 8.5
Tritanopia
#2d3e3d · ΔE 23.8
Achromatopsia
#272727 · ΔE 20.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e1e4e;
bg-[#2e1e4e]
Related colors
Frequently asked questions
#2e1e4e (#2e1e4e) is rgb(46, 30, 78) in RGB.
No, #2e1e4e 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 #2e1e4e, or check how it holds up for accessibility.