Skip to content
Vectorlight.net

#a40684

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

HEX
#a40684
RGB
164, 6, 132
HSL
312.15°, 92.94%, 33.33%
OKLCH
0.49 0.21 339.75
Names
—
Lists

Codes

FormatValue
HEX#a40684
RGBrgb(164 6 132)
HSLhsl(312.15 92.94% 33.33%)
OKLCHoklch(0.49 0.21 339.75)
CMYKcmyk(0% 96.34% 19.51% 35.69%)
Android#ffa40684

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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