Skip to content
Vectorlight.net

#5a136a

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

HEX
#5a136a
RGB
90, 19, 106
HSL
288.97°, 69.6%, 24.51%
OKLCH
0.35 0.15 319.3
Names
—
Lists

Codes

FormatValue
HEX#5a136a
RGBrgb(90 19 106)
HSLhsl(288.97 69.6% 24.51%)
OKLCHoklch(0.35 0.15 319.3)
CMYKcmyk(15.09% 82.08% 0% 58.43%)
Android#ff5a136a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
12.09:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.73:1
Fail AA normal text
Fail 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="#5a136a"
Gradient stop
<stop stop-color="#5a136a"/>
CSS variable + fill
:root { --c: #5a136a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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