Skip to content
Vectorlight.net

#4815cf

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

HEX
#4815cf
RGB
72, 21, 207
HSL
256.45°, 81.58%, 44.71%
OKLCH
0.43 0.25 281.11
Names
—
Lists

Codes

FormatValue
HEX#4815cf
RGBrgb(72 21 207)
HSLhsl(256.45 81.58% 44.71%)
OKLCHoklch(0.43 0.25 281.11)
CMYKcmyk(65.22% 89.86% 0% 18.82%)
Android#ff4815cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4815cf;
background-color: #4815cf;
bg-[#4815cf]