Skip to content
Vectorlight.net

#421e82

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

HEX
#421e82
RGB
66, 30, 130
HSL
261.6°, 62.5%, 31.37%
OKLCH
0.35 0.16 293.06
Names
—
Lists

Codes

FormatValue
HEX#421e82
RGBrgb(66 30 130)
HSLhsl(261.6 62.5% 31.37%)
OKLCHoklch(0.35 0.16 293.06)
CMYKcmyk(49.23% 76.92% 0% 49.02%)
Android#ff421e82

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #421e82;
background-color: #421e82;
bg-[#421e82]