Skip to content
Vectorlight.net

#a4159e

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

HEX
#a4159e
RGB
164, 21, 158
HSL
302.52°, 77.3%, 36.27%
OKLCH
0.51 0.22 330.27
Names
—
Lists

Codes

FormatValue
HEX#a4159e
RGBrgb(164 21 158)
HSLhsl(302.52 77.3% 36.27%)
OKLCHoklch(0.51 0.22 330.27)
CMYKcmyk(0% 87.2% 3.66% 35.69%)
Android#ffa4159e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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