Color #5f4fa0
A muted medium blue.
Conversions
#5f4fa0
rgb(95, 79, 160)
hsl(251.9, 33.9%, 46.9%)
hsv(251.9, 50.6%, 62.7%)
cmyk(40.6%, 50.6%, 0%, 37.3%)
lab(38.83, 26.82, -41.89)
lch(38.83, 49.74, 302.63)
oklch(48.4%, 0.1262, 289.93)
hwb(251.9, 31%, 37.3%)
Harmony colors
Accessibility
White text reads better on this background (6.75:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#595892 · ΔE 5
Deuteranopia
#595b8e · ΔE 6.6
Tritanopia
#5e8582 · ΔE 29.9
Achromatopsia
#5b5b5b · ΔE 24
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f4fa0;
bg-[#5f4fa0]
Related colors
Frequently asked questions
#5f4fa0 (#5f4fa0) is rgb(95, 79, 160) in RGB.
No, #5f4fa0 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 #5f4fa0, or check how it holds up for accessibility.