Skip to content
Vectorlight.net

#6c46bb

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

HEX
#6c46bb
RGB
108, 70, 187
HSL
259.49°, 46.25%, 50.39%
OKLCH
0.5 0.18 294.08
Names
—
Lists

Codes

FormatValue
HEX#6c46bb
RGBrgb(108 70 187)
HSLhsl(259.49 46.25% 50.39%)
OKLCHoklch(0.5 0.18 294.08)
CMYKcmyk(42.25% 62.57% 0% 26.67%)
Android#ff6c46bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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