Skip to content
Vectorlight.net

#42334b

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

HEX
#42334b
RGB
66, 51, 75
HSL
277.5°, 19.05%, 24.71%
OKLCH
0.35 0.05 312.44
Names
—
Lists

Codes

FormatValue
HEX#42334b
RGBrgb(66 51 75)
HSLhsl(277.5 19.05% 24.71%)
OKLCHoklch(0.35 0.05 312.44)
CMYKcmyk(12% 32% 0% 70.59%)
Android#ff42334b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #42334b;
background-color: #42334b;
bg-[#42334b]