Color #5f4e89
A muted medium blue.
Conversions
#5f4e89
rgb(95, 78, 137)
hsl(257.3, 27.4%, 42.2%)
hsv(257.3, 43.1%, 53.7%)
cmyk(30.7%, 43.1%, 0%, 46.3%)
lab(37.28, 20.9, -30.45)
lch(37.28, 36.93, 304.46)
oklch(46.8%, 0.0947, 295.78)
hwb(257.3, 30.6%, 46.3%)
Harmony colors
Accessibility
White text reads better on this background (7.15:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#58587e · ΔE 6.4
Deuteranopia
#595a7b · ΔE 7.8
Tritanopia
#5e7472 · ΔE 25.5
Achromatopsia
#585858 · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f4e89;
bg-[#5f4e89]
Related colors
Frequently asked questions
#5f4e89 (#5f4e89) is rgb(95, 78, 137) in RGB.
No, #5f4e89 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 #5f4e89, or check how it holds up for accessibility.