Skip to content
Vectorlight.net

#a4008a

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

HEX
#a4008a
RGB
164, 0, 138
HSL
309.51°, 100%, 32.16%
OKLCH
0.49 0.21 337.4
Names
—
Lists

Codes

FormatValue
HEX#a4008a
RGBrgb(164 0 138)
HSLhsl(309.51 100% 32.16%)
OKLCHoklch(0.49 0.21 337.4)
CMYKcmyk(0% 100% 15.85% 35.69%)
Android#ffa4008a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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