Skip to content
Vectorlight.net

#a41fad

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

HEX
#a41fad
RGB
164, 31, 173
HSL
296.2°, 69.61%, 40%
OKLCH
0.52 0.22 325.21
Names
—
Lists

Codes

FormatValue
HEX#a41fad
RGBrgb(164 31 173)
HSLhsl(296.2 69.61% 40%)
OKLCHoklch(0.52 0.22 325.21)
CMYKcmyk(5.2% 82.08% 0% 32.16%)
Android#ffa41fad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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