Color #5e2c6b
A moderately saturated dark purple.
Conversions
#5e2c6b
rgb(94, 44, 107)
hsl(287.6, 41.7%, 29.6%)
hsv(287.6, 58.9%, 42%)
cmyk(12.1%, 58.9%, 0%, 58%)
lab(27.42, 33.53, -27.25)
lch(27.42, 43.21, 320.9)
oklch(38.8%, 0.1155, 318.97)
hwb(287.6, 17.3%, 58%)
Harmony colors
Accessibility
White text reads better on this background (10.25:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4d4d60 · ΔE 16.8
Deuteranopia
#50535d · ΔE 20.1
Tritanopia
#5c5754 · ΔE 25.4
Achromatopsia
#414141 · ΔE 23.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5e2c6b;
bg-[#5e2c6b]
Related colors
Frequently asked questions
#5e2c6b (#5e2c6b) is rgb(94, 44, 107) in RGB.
No, #5e2c6b 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 #5e2c6b, or check how it holds up for accessibility.