Skip to content
Vectorlight.net

#42136d

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

HEX
#42136d
RGB
66, 19, 109
HSL
271.33°, 70.31%, 25.1%
OKLCH
0.32 0.14 302.32
Names
—
Lists

Codes

FormatValue
HEX#42136d
RGBrgb(66 19 109)
HSLhsl(271.33 70.31% 25.1%)
OKLCHoklch(0.32 0.14 302.32)
CMYKcmyk(39.45% 82.57% 0% 57.25%)
Android#ff42136d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #42136d;
background-color: #42136d;
bg-[#42136d]