Skip to content
Vectorlight.net

#6b0342

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

HEX
#6b0342
RGB
107, 3, 66
HSL
323.65°, 94.55%, 21.57%
OKLCH
0.35 0.14 351.75
Names
—
Lists

Codes

FormatValue
HEX#6b0342
RGBrgb(107 3 66)
HSLhsl(323.65 94.55% 21.57%)
OKLCHoklch(0.35 0.14 351.75)
CMYKcmyk(0% 97.2% 38.32% 58.04%)
Android#ff6b0342

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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