Skip to content
Vectorlight.net

#5342ae

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

HEX
#5342ae
RGB
83, 66, 174
HSL
249.44°, 45%, 47.06%
OKLCH
0.46 0.16 285.08
Names
—
Lists

Codes

FormatValue
HEX#5342ae
RGBrgb(83 66 174)
HSLhsl(249.44 45% 47.06%)
OKLCHoklch(0.46 0.16 285.08)
CMYKcmyk(52.3% 62.07% 0% 31.76%)
Android#ff5342ae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5342ae;
background-color: #5342ae;
bg-[#5342ae]