Color #5e2e6e
A moderately saturated dark purple.
Conversions
#5e2e6e
rgb(94, 46, 110)
hsl(285, 41%, 30.6%)
hsv(285, 58.2%, 43.1%)
cmyk(14.5%, 58.2%, 0%, 56.9%)
lab(28.01, 33.1, -28.24)
lch(28.01, 43.51, 319.53)
oklch(39.3%, 0.1154, 317)
hwb(285, 18%, 56.9%)
Harmony colors
Accessibility
White text reads better on this background (10.04:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4e4d63 · ΔE 15.5
Deuteranopia
#505360 · ΔE 19
Tritanopia
#5c5957 · ΔE 25.4
Achromatopsia
#424242 · ΔE 23.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5e2e6e;
bg-[#5e2e6e]
Related colors
Frequently asked questions
#5e2e6e (#5e2e6e) is rgb(94, 46, 110) in RGB.
No, #5e2e6e 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 #5e2e6e, or check how it holds up for accessibility.