Skip to content
Vectorlight.net

#42071e

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

HEX
#42071e
RGB
66, 7, 30
HSL
336.61°, 80.82%, 14.31%
OKLCH
0.25 0.09 3.13
Names
—
Lists

Codes

FormatValue
HEX#42071e
RGBrgb(66 7 30)
HSLhsl(336.61 80.82% 14.31%)
OKLCHoklch(0.25 0.09 3.13)
CMYKcmyk(0% 89.39% 54.55% 74.12%)
Android#ff42071e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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