Color #5a4ea2
A muted medium blue.
Conversions
#5a4ea2
rgb(90, 78, 162)
hsl(248.6, 35%, 47.1%)
hsv(248.6, 51.9%, 63.5%)
cmyk(44.4%, 51.9%, 0%, 36.5%)
lab(38.25, 26.77, -44.04)
lch(38.25, 51.54, 301.29)
oklch(47.9%, 0.1308, 286.94)
hwb(248.6, 30.6%, 36.5%)
Harmony colors
Accessibility
White text reads better on this background (6.89:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#555593 · ΔE 4.4
Deuteranopia
#56578f · ΔE 5.6
Tritanopia
#598683 · ΔE 30.8
Achromatopsia
#5a5a5a · ΔE 24.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a4ea2;
bg-[#5a4ea2]
Related colors
Frequently asked questions
#5a4ea2 (#5a4ea2) is rgb(90, 78, 162) in RGB.
No, #5a4ea2 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 #5a4ea2, or check how it holds up for accessibility.