Color #5f416b
A muted dark purple.
Conversions
#5f416b
rgb(95, 65, 107)
hsl(282.9, 24.4%, 33.7%)
hsv(282.9, 39.3%, 42%)
cmyk(11.2%, 39.3%, 0%, 58%)
lab(32.43, 21.37, -19.39)
lch(32.43, 28.86, 317.78)
oklch(42.6%, 0.0767, 315.95)
hwb(282.9, 25.5%, 58%)
Harmony colors
Accessibility
White text reads better on this background (8.55:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#545363 · ΔE 13.4
Deuteranopia
#555761 · ΔE 16.7
Tritanopia
#5e5c5a · ΔE 21.5
Achromatopsia
#4c4c4c · ΔE 19.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f416b;
bg-[#5f416b]
Related colors
Frequently asked questions
#5f416b (#5f416b) is rgb(95, 65, 107) in RGB.
No, #5f416b 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 #5f416b, or check how it holds up for accessibility.