Color #5a4d83
A muted medium blue.
Conversions
#5a4d83
rgb(90, 77, 131)
hsl(254.4, 26%, 40.8%)
hsv(254.4, 41.2%, 51.4%)
cmyk(31.3%, 41.2%, 0%, 48.6%)
lab(36.21, 18.35, -28.48)
lch(36.21, 33.88, 302.79)
oklch(45.7%, 0.087, 293.71)
hwb(254.4, 30.2%, 48.6%)
Harmony colors
Accessibility
White text reads better on this background (7.44:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#555579 · ΔE 5.6
Deuteranopia
#555676 · ΔE 6.9
Tritanopia
#59706d · ΔE 25.7
Achromatopsia
#555555 · ΔE 20.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a4d83;
bg-[#5a4d83]
Related colors
Frequently asked questions
#5a4d83 (#5a4d83) is rgb(90, 77, 131) in RGB.
No, #5a4d83 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 #5a4d83, or check how it holds up for accessibility.