Skip to content
Vectorlight.net

#6c64aa

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

HEX
#6c64aa
RGB
108, 100, 170
HSL
246.86°, 29.17%, 52.94%
OKLCH
0.54 0.11 287.48
Names
—
Lists

Codes

FormatValue
HEX#6c64aa
RGBrgb(108 100 170)
HSLhsl(246.86 29.17% 52.94%)
OKLCHoklch(0.54 0.11 287.48)
CMYKcmyk(36.47% 41.18% 0% 33.33%)
Android#ff6c64aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6c64aa;
background-color: #6c64aa;
bg-[#6c64aa]