Skip to content
Vectorlight.net

#a51691

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

HEX
#a51691
RGB
165, 22, 145
HSL
308.39°, 76.47%, 36.67%
OKLCH
0.5 0.21 335.26
Names
—
Lists

Codes

FormatValue
HEX#a51691
RGBrgb(165 22 145)
HSLhsl(308.39 76.47% 36.67%)
OKLCHoklch(0.5 0.21 335.26)
CMYKcmyk(0% 86.67% 12.12% 35.29%)
Android#ffa51691

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #a51691;
background-color: #a51691;
bg-[#a51691]