Color #5f2e6a
A muted dark purple.
Conversions
#5f2e6a
rgb(95, 46, 106)
hsl(289, 39.5%, 29.8%)
hsv(289, 56.6%, 41.6%)
cmyk(10.4%, 56.6%, 0%, 58.4%)
lab(27.92, 32.49, -25.8)
lch(27.92, 41.49, 321.55)
oklch(39.2%, 0.1114, 320.02)
hwb(289, 18%, 58.4%)
Harmony colors
Accessibility
White text reads better on this background (10.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4e4e60 · ΔE 16.8
Deuteranopia
#51545d · ΔE 20.3
Tritanopia
#5d5654 · ΔE 23.8
Achromatopsia
#424242 · ΔE 23.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f2e6a;
bg-[#5f2e6a]
Related colors
Frequently asked questions
#5f2e6a (#5f2e6a) is rgb(95, 46, 106) in RGB.
No, #5f2e6a 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 #5f2e6a, or check how it holds up for accessibility.