Color #5a4496
A muted medium blue.
Conversions
#5a4496
rgb(90, 68, 150)
hsl(256.1, 37.6%, 42.7%)
hsv(256.1, 54.7%, 58.8%)
cmyk(40%, 54.7%, 0%, 41.2%)
lab(35.02, 29.42, -41.98)
lch(35.02, 51.26, 305.02)
oklch(45.2%, 0.1292, 292.86)
hwb(256.1, 26.7%, 41.2%)
Harmony colors
Accessibility
White text reads better on this background (7.77:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#515188 · ΔE 6.6
Deuteranopia
#535484 · ΔE 8
Tritanopia
#597b78 · ΔE 29.3
Achromatopsia
#525252 · ΔE 24.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a4496;
bg-[#5a4496]
Related colors
Frequently asked questions
#5a4496 (#5a4496) is rgb(90, 68, 150) in RGB.
No, #5a4496 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 #5a4496, or check how it holds up for accessibility.