Color #4e0042
A vivid, highly saturated very dark magenta.
Conversions
#4e0042
rgb(78, 0, 66)
hsl(309.2, 100%, 15.3%)
hsv(309.2, 100%, 30.6%)
cmyk(0%, 100%, 15.4%, 69.4%)
lab(15.56, 39.69, -18.73)
lch(15.56, 43.89, 334.74)
oklch(28.9%, 0.1278, 336.38)
hwb(309.2, 0%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (14.97:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3b3a39 · ΔE 25.2
Deuteranopia
#3e4137 · ΔE 34.3
Tritanopia
#4c312f · ΔE 20
Achromatopsia
#272727 · ΔE 24
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4e0042;
bg-[#4e0042]
Related colors
Frequently asked questions
#4e0042 (#4e0042) is rgb(78, 0, 66) in RGB.
No, #4e0042 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 #4e0042, or check how it holds up for accessibility.