Color #4e2540
A muted dark magenta.
Conversions
#4e2540
rgb(78, 37, 64)
hsl(320.5, 35.7%, 22.5%)
hsv(320.5, 52.6%, 30.6%)
cmyk(0%, 52.6%, 17.9%, 69.4%)
lab(21.26, 23.31, -8.51)
lch(21.26, 24.81, 339.94)
oklch(33.1%, 0.0724, 341.74)
hwb(320.5, 14.5%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (12.63:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#40403b · ΔE 24
Deuteranopia
#424539 · ΔE 30.2
Tritanopia
#4d3635 · ΔE 12.7
Achromatopsia
#333333 · ΔE 19.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4e2540;
bg-[#4e2540]
Related colors
Frequently asked questions
#4e2540 (#4e2540) is rgb(78, 37, 64) in RGB.
No, #4e2540 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 #4e2540, or check how it holds up for accessibility.