Skip to content
Vectorlight.net

#42273f

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

HEX
#42273f
RGB
66, 39, 63
HSL
306.67°, 25.71%, 20.59%
OKLCH
0.32 0.06 330.81
Names
—
Lists

Codes

FormatValue
HEX#42273f
RGBrgb(66 39 63)
HSLhsl(306.67 25.71% 20.59%)
OKLCHoklch(0.32 0.06 330.81)
CMYKcmyk(0% 40.91% 4.55% 74.12%)
Android#ff42273f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #42273f;
background-color: #42273f;
bg-[#42273f]