Skip to content
Vectorlight.net

#5129aa

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

HEX
#5129aa
RGB
81, 41, 170
HSL
258.6°, 61.14%, 41.37%
OKLCH
0.42 0.19 289.69
Names
—
Lists

Codes

FormatValue
HEX#5129aa
RGBrgb(81 41 170)
HSLhsl(258.6 61.14% 41.37%)
OKLCHoklch(0.42 0.19 289.69)
CMYKcmyk(52.35% 75.88% 0% 33.33%)
Android#ff5129aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5129aa;
background-color: #5129aa;
bg-[#5129aa]