Skip to content
Vectorlight.net

#660262

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

HEX
#660262
RGB
102, 2, 98
HSL
302.4°, 96.15%, 20.39%
OKLCH
0.36 0.16 330.36
Names
—
Lists

Codes

FormatValue
HEX#660262
RGBrgb(102 2 98)
HSLhsl(302.4 96.15% 20.39%)
OKLCHoklch(0.36 0.16 330.36)
CMYKcmyk(0% 98.04% 3.92% 60%)
Android#ff660262

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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