Skip to content
Vectorlight.net

#422271

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

HEX
#422271
RGB
66, 34, 113
HSL
264.3°, 53.74%, 28.82%
OKLCH
0.34 0.13 297.73
Names
—
Lists

Codes

FormatValue
HEX#422271
RGBrgb(66 34 113)
HSLhsl(264.3 53.74% 28.82%)
OKLCHoklch(0.34 0.13 297.73)
CMYKcmyk(41.59% 69.91% 0% 55.69%)
Android#ff422271

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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