Skip to content
Vectorlight.net

#6d34ca

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

HEX
#6d34ca
RGB
109, 52, 202
HSL
262.8°, 59.06%, 49.8%
OKLCH
0.49 0.21 294.31
Names
—
Lists

Codes

FormatValue
HEX#6d34ca
RGBrgb(109 52 202)
HSLhsl(262.8 59.06% 49.8%)
OKLCHoklch(0.49 0.21 294.31)
CMYKcmyk(46.04% 74.26% 0% 20.78%)
Android#ff6d34ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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