Color #5a4f71
A muted dark blue.
Conversions
#5a4f71
rgb(90, 79, 113)
hsl(259.4, 17.7%, 37.6%)
hsv(259.4, 30.1%, 44.3%)
cmyk(20.4%, 30.1%, 0%, 55.7%)
lab(35.9, 12.26, -17.83)
lch(35.9, 21.64, 304.51)
oklch(45.2%, 0.056, 299.03)
hwb(259.4, 31%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (7.52:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#55556a · ΔE 6.7
Deuteranopia
#565768 · ΔE 8.5
Tritanopia
#596463 · ΔE 20.3
Achromatopsia
#545454 · ΔE 16.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a4f71;
bg-[#5a4f71]
Related colors
Frequently asked questions
#5a4f71 (#5a4f71) is rgb(90, 79, 113) in RGB.
No, #5a4f71 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 #5a4f71, or check how it holds up for accessibility.