Color #5a4ba2
A muted medium blue.
Conversions
#5a4ba2
rgb(90, 75, 162)
hsl(250.3, 36.7%, 46.5%)
hsv(250.3, 53.7%, 63.5%)
cmyk(44.4%, 53.7%, 0%, 36.5%)
lab(37.51, 28.64, -45.23)
lch(37.51, 53.54, 302.34)
oklch(47.3%, 0.1352, 288.01)
hwb(250.3, 29.4%, 36.5%)
Harmony colors
Accessibility
White text reads better on this background (7.09:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#545493 · ΔE 5
Deuteranopia
#55568f · ΔE 6.1
Tritanopia
#598582 · ΔE 31.1
Achromatopsia
#585858 · ΔE 24.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a4ba2;
bg-[#5a4ba2]
Related colors
Frequently asked questions
#5a4ba2 (#5a4ba2) is rgb(90, 75, 162) in RGB.
No, #5a4ba2 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 #5a4ba2, or check how it holds up for accessibility.