Skip to content
Vectorlight.net

#5a5482

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#5a5482
RGB
90, 84, 130
HSL
247.83°, 21.5%, 41.96%
OKLCH
0.47 0.07 289.23
Names
—
Lists

Codes

FormatValue
HEX#5a5482
RGBrgb(90 84 130)
HSLhsl(247.83 21.5% 41.96%)
OKLCHoklch(0.47 0.07 289.23)
CMYKcmyk(30.77% 35.38% 0% 49.02%)
Android#ff5a5482

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.94:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.02:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#5a5482"
Gradient stop
<stop stop-color="#5a5482"/>
CSS variable + fill
:root { --c: #5a5482; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #5a5482;
background-color: #5a5482;
bg-[#5a5482]