Skip to content
Vectorlight.net

#5422ca

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

HEX
#5422ca
RGB
84, 34, 202
HSL
257.86°, 71.19%, 46.27%
OKLCH
0.45 0.23 285.81
Names
—
Lists

Codes

FormatValue
HEX#5422ca
RGBrgb(84 34 202)
HSLhsl(257.86 71.19% 46.27%)
OKLCHoklch(0.45 0.23 285.81)
CMYKcmyk(58.42% 83.17% 0% 20.78%)
Android#ff5422ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5422ca;
background-color: #5422ca;
bg-[#5422ca]