Color #4e2852
A muted dark magenta.
Conversions
#4e2852
rgb(78, 40, 82)
hsl(294.3, 34.4%, 23.9%)
hsv(294.3, 51.2%, 32.2%)
cmyk(4.9%, 51.2%, 0%, 67.8%)
lab(22.82, 25.18, -18.28)
lch(22.82, 31.12, 324.02)
oklch(34.5%, 0.0848, 323.63)
hwb(294.3, 15.7%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (12:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#41404a · ΔE 16.8
Deuteranopia
#434548 · ΔE 20.2
Tritanopia
#4d4442 · ΔE 20
Achromatopsia
#363636 · ΔE 21
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4e2852;
bg-[#4e2852]
Related colors
Frequently asked questions
#4e2852 (#4e2852) is rgb(78, 40, 82) in RGB.
No, #4e2852 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 #4e2852, or check how it holds up for accessibility.