Color #5e2b6f
A moderately saturated dark purple.
Conversions
#5e2b6f
rgb(94, 43, 111)
hsl(285, 44.2%, 30.2%)
hsv(285, 61.3%, 43.5%)
cmyk(15.3%, 61.3%, 0%, 56.5%)
lab(27.45, 34.98, -29.76)
lch(27.45, 45.93, 319.61)
oklch(38.9%, 0.1216, 316.9)
hwb(285, 16.9%, 56.5%)
Harmony colors
Accessibility
White text reads better on this background (10.24:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4d4c64 · ΔE 15.6
Deuteranopia
#4f5361 · ΔE 19.2
Tritanopia
#5c5957 · ΔE 25.9
Achromatopsia
#414141 · ΔE 23.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5e2b6f;
bg-[#5e2b6f]
Related colors
Frequently asked questions
#5e2b6f (#5e2b6f) is rgb(94, 43, 111) in RGB.
No, #5e2b6f 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 #5e2b6f, or check how it holds up for accessibility.