Color #4e1e45
A moderately saturated dark magenta.
Conversions
#4e1e45
rgb(78, 30, 69)
hsl(311.3, 44.4%, 21.2%)
hsv(311.3, 61.5%, 30.6%)
cmyk(0%, 61.5%, 11.5%, 69.4%)
lab(19.96, 28.28, -13.93)
lch(19.96, 31.52, 333.78)
oklch(32.2%, 0.0904, 335.28)
hwb(311.3, 11.8%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (13.16:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3e3e3e · ΔE 22.1
Deuteranopia
#41443c · ΔE 30.5
Tritanopia
#4c3836 · ΔE 17.1
Achromatopsia
#303030 · ΔE 21.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4e1e45;
bg-[#4e1e45]
Related colors
Frequently asked questions
#4e1e45 (#4e1e45) is rgb(78, 30, 69) in RGB.
No, #4e1e45 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 #4e1e45, or check how it holds up for accessibility.