Color #5f2e6e
A moderately saturated dark purple.
Conversions
#5f2e6e
rgb(95, 46, 110)
hsl(285.9, 41%, 30.6%)
hsv(285.9, 58.2%, 43.1%)
cmyk(13.6%, 58.2%, 0%, 56.9%)
lab(28.15, 33.39, -28.01)
lch(28.15, 43.58, 320.01)
oklch(39.5%, 0.116, 317.73)
hwb(285.9, 18%, 56.9%)
Harmony colors
Accessibility
White text reads better on this background (9.99:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4e4e63 · ΔE 16.1
Deuteranopia
#515460 · ΔE 19.5
Tritanopia
#5d5957 · ΔE 25.1
Achromatopsia
#424242 · ΔE 23.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f2e6e;
bg-[#5f2e6e]
Related colors
Frequently asked questions
#5f2e6e (#5f2e6e) is rgb(95, 46, 110) in RGB.
No, #5f2e6e 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 #5f2e6e, or check how it holds up for accessibility.