Skip to content
Vectorlight.net

#660442

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

HEX
#660442
RGB
102, 4, 66
HSL
322.04°, 92.45%, 20.78%
OKLCH
0.34 0.14 349.58
Names
—
Lists

Codes

FormatValue
HEX#660442
RGBrgb(102 4 66)
HSLhsl(322.04 92.45% 20.78%)
OKLCHoklch(0.34 0.14 349.58)
CMYKcmyk(0% 96.08% 35.29% 60%)
Android#ff660442

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #660442;
background-color: #660442;
bg-[#660442]