Skip to content
Vectorlight.net

#42136e

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

HEX
#42136e
RGB
66, 19, 110
HSL
270.99°, 70.54%, 25.29%
OKLCH
0.32 0.14 301.9
Names
—
Lists

Codes

FormatValue
HEX#42136e
RGBrgb(66 19 110)
HSLhsl(270.99 70.54% 25.29%)
OKLCHoklch(0.32 0.14 301.9)
CMYKcmyk(40% 82.73% 0% 56.86%)
Android#ff42136e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
13.54: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="#42136e"
Gradient stop
<stop stop-color="#42136e"/>
CSS variable + fill
:root { --c: #42136e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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