Color #4e1e46
A moderately saturated dark magenta.
Conversions
#4e1e46
rgb(78, 30, 70)
hsl(310, 44.4%, 21.2%)
hsv(310, 61.5%, 30.6%)
cmyk(0%, 61.5%, 10.3%, 69.4%)
lab(20.01, 28.47, -14.54)
lch(20.01, 31.97, 332.95)
oklch(32.2%, 0.0913, 334.36)
hwb(310, 11.8%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (13.14:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3e3e3f · ΔE 21.7
Deuteranopia
#41443d · ΔE 30
Tritanopia
#4c3937 · ΔE 17.5
Achromatopsia
#303030 · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4e1e46;
bg-[#4e1e46]
Related colors
Frequently asked questions
#4e1e46 (#4e1e46) is rgb(78, 30, 70) in RGB.
No, #4e1e46 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 #4e1e46, or check how it holds up for accessibility.