Color #5f4e8b
A muted medium blue.
Conversions
#5f4e8b
rgb(95, 78, 139)
hsl(256.7, 28.1%, 42.5%)
hsv(256.7, 43.9%, 54.5%)
cmyk(31.7%, 43.9%, 0%, 45.5%)
lab(37.38, 21.45, -31.51)
lch(37.38, 38.12, 304.24)
oklch(46.9%, 0.0976, 295.23)
hwb(256.7, 30.6%, 45.5%)
Harmony colors
Accessibility
White text reads better on this background (7.12:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#585880 · ΔE 6.2
Deuteranopia
#595a7d · ΔE 7.6
Tritanopia
#5e7573 · ΔE 25.6
Achromatopsia
#585858 · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f4e8b;
bg-[#5f4e8b]
Related colors
Frequently asked questions
#5f4e8b (#5f4e8b) is rgb(95, 78, 139) in RGB.
No, #5f4e8b 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 #5f4e8b, or check how it holds up for accessibility.