Skip to content
Vectorlight.net

#5318da

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

HEX
#5318da
RGB
83, 24, 218
HSL
258.25°, 80.17%, 47.45%
OKLCH
0.45 0.25 283.52
Names
—
Lists

Codes

FormatValue
HEX#5318da
RGBrgb(83 24 218)
HSLhsl(258.25 80.17% 47.45%)
OKLCHoklch(0.45 0.25 283.52)
CMYKcmyk(61.93% 88.99% 0% 14.51%)
Android#ff5318da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5318da;
background-color: #5318da;
bg-[#5318da]