Color #4e2456
A moderately saturated dark magenta.
Conversions
#4e2456
rgb(78, 36, 86)
hsl(290.4, 41%, 23.9%)
hsv(290.4, 58.1%, 33.7%)
cmyk(9.3%, 58.1%, 0%, 66.3%)
lab(22.14, 28.45, -22.01)
lch(22.14, 35.97, 322.27)
oklch(34.1%, 0.097, 321.03)
hwb(290.4, 14.1%, 66.3%)
Harmony colors
Accessibility
White text reads better on this background (12.28:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#403f4d · ΔE 16.4
Deuteranopia
#42444b · ΔE 20
Tritanopia
#4d4644 · ΔE 22.2
Achromatopsia
#353535 · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4e2456;
bg-[#4e2456]
Related colors
Frequently asked questions
#4e2456 (#4e2456) is rgb(78, 36, 86) in RGB.
No, #4e2456 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 #4e2456, or check how it holds up for accessibility.