Color #5e284e
A moderately saturated dark magenta.
Conversions
#5e284e
rgb(94, 40, 78)
hsl(317.8, 40.3%, 26.3%)
hsv(317.8, 57.4%, 36.9%)
cmyk(0%, 57.4%, 17%, 63.1%)
lab(25.1, 29.9, -11.88)
lch(25.1, 32.17, 338.33)
oklch(36.7%, 0.0939, 340.19)
hwb(317.8, 15.7%, 63.1%)
Harmony colors
Accessibility
White text reads better on this background (11.11:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4c4c47 · ΔE 26.7
Deuteranopia
#4f5245 · ΔE 33.2
Tritanopia
#5c413f · ΔE 15.8
Achromatopsia
#3c3c3c · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5e284e;
bg-[#5e284e]
Related colors
Frequently asked questions
#5e284e (#5e284e) is rgb(94, 40, 78) in RGB.
No, #5e284e 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 #5e284e, or check how it holds up for accessibility.