Color #5f4165
A muted dark magenta.
Conversions
#5f4165
rgb(95, 65, 101)
hsl(290, 21.7%, 32.5%)
hsv(290, 35.6%, 39.6%)
cmyk(5.9%, 35.6%, 0%, 60.4%)
lab(32.15, 19.99, -16.01)
lch(32.15, 25.61, 321.31)
oklch(42.3%, 0.069, 320.7)
hwb(290, 25.5%, 60.4%)
Harmony colors
Accessibility
White text reads better on this background (8.64:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#54535e · ΔE 14.5
Deuteranopia
#55575c · ΔE 18
Tritanopia
#5e5856 · ΔE 18.8
Achromatopsia
#4c4c4c · ΔE 19
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f4165;
bg-[#5f4165]
Related colors
Frequently asked questions
#5f4165 (#5f4165) is rgb(95, 65, 101) in RGB.
No, #5f4165 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 #5f4165, or check how it holds up for accessibility.