Color #5a4986
A muted medium blue.
Conversions
#5a4986
rgb(90, 73, 134)
hsl(256.7, 29.5%, 40.6%)
hsv(256.7, 45.5%, 52.5%)
cmyk(32.8%, 45.5%, 0%, 47.5%)
lab(35.32, 21.72, -31.73)
lch(35.32, 38.45, 304.39)
oklch(45.1%, 0.0983, 294.97)
hwb(256.7, 28.6%, 47.5%)
Harmony colors
Accessibility
White text reads better on this background (7.69:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#53537b · ΔE 6.2
Deuteranopia
#545578 · ΔE 7.6
Tritanopia
#59716e · ΔE 26.4
Achromatopsia
#535353 · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a4986;
bg-[#5a4986]
Related colors
Frequently asked questions
#5a4986 (#5a4986) is rgb(90, 73, 134) in RGB.
No, #5a4986 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 #5a4986, or check how it holds up for accessibility.