Skip to content
Vectorlight.net

#662d4e

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

HEX
#662d4e
RGB
102, 45, 78
HSL
325.26°, 38.78%, 28.82%
OKLCH
0.39 0.09 346.48
Names
—
Lists

Codes

FormatValue
HEX#662d4e
RGBrgb(102 45 78)
HSLhsl(325.26 38.78% 28.82%)
OKLCHoklch(0.39 0.09 346.48)
CMYKcmyk(0% 55.88% 23.53% 60%)
Android#ff662d4e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #662d4e;
background-color: #662d4e;
bg-[#662d4e]