Color #5a4d76
A muted dark blue.
Conversions
#5a4d76
rgb(90, 77, 118)
hsl(259, 21%, 38.2%)
hsv(259, 34.7%, 46.3%)
cmyk(23.7%, 34.7%, 0%, 53.7%)
lab(35.58, 14.83, -21.45)
lch(35.58, 26.08, 304.66)
oklch(45%, 0.0674, 298.24)
hwb(259, 30.2%, 53.7%)
Harmony colors
Accessibility
White text reads better on this background (7.61:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#55556e · ΔE 7.1
Deuteranopia
#55566c · ΔE 8.4
Tritanopia
#596765 · ΔE 22.8
Achromatopsia
#545454 · ΔE 18
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a4d76;
bg-[#5a4d76]
Related colors
Frequently asked questions
#5a4d76 (#5a4d76) is rgb(90, 77, 118) in RGB.
No, #5a4d76 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 #5a4d76, or check how it holds up for accessibility.