Color #5f5177
A muted dark purple.
Conversions
#5f5177
rgb(95, 81, 119)
hsl(262.1, 19%, 39.2%)
hsv(262.1, 31.9%, 46.7%)
cmyk(20.2%, 31.9%, 0%, 53.3%)
lab(37.21, 14.26, -19.5)
lch(37.21, 24.16, 306.18)
oklch(46.4%, 0.0626, 300.95)
hwb(262.1, 31.8%, 53.3%)
Harmony colors
Accessibility
White text reads better on this background (7.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#59596f · ΔE 7.8
Deuteranopia
#5a5b6d · ΔE 9.6
Tritanopia
#5e6967 · ΔE 21.8
Achromatopsia
#585858 · ΔE 17.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f5177;
bg-[#5f5177]
Related colors
Frequently asked questions
#5f5177 (#5f5177) is rgb(95, 81, 119) in RGB.
No, #5f5177 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 #5f5177, or check how it holds up for accessibility.