Skip to content
Vectorlight.net

#42014a

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

HEX
#42014a
RGB
66, 1, 74
HSL
293.42°, 97.33%, 14.71%
OKLCH
0.27 0.13 322.84
Names
—
Lists

Codes

FormatValue
HEX#42014a
RGBrgb(66 1 74)
HSLhsl(293.42 97.33% 14.71%)
OKLCHoklch(0.27 0.13 322.84)
CMYKcmyk(10.81% 98.65% 0% 70.98%)
Android#ff42014a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #42014a;
background-color: #42014a;
bg-[#42014a]