Color #5f4b8a
A muted medium blue.
Conversions
#5f4b8a
rgb(95, 75, 138)
hsl(259, 29.6%, 41.8%)
hsv(259, 45.7%, 54.1%)
cmyk(31.2%, 45.7%, 0%, 45.9%)
lab(36.56, 23.05, -32.2)
lch(36.56, 39.6, 305.6)
oklch(46.2%, 0.1013, 296.89)
hwb(259, 29.4%, 45.9%)
Harmony colors
Accessibility
White text reads better on this background (7.34:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#57577e · ΔE 7.1
Deuteranopia
#585a7b · ΔE 8.9
Tritanopia
#5e7472 · ΔE 25.7
Achromatopsia
#565656 · ΔE 22.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f4b8a;
bg-[#5f4b8a]
Related colors
Frequently asked questions
#5f4b8a (#5f4b8a) is rgb(95, 75, 138) in RGB.
No, #5f4b8a 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 #5f4b8a, or check how it holds up for accessibility.