Skip to content
Vectorlight.net

#4f1cdc

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

HEX
#4f1cdc
RGB
79, 28, 220
HSL
255.94°, 77.42%, 48.63%
OKLCH
0.46 0.25 281.59
Names
—
Lists

Codes

FormatValue
HEX#4f1cdc
RGBrgb(79 28 220)
HSLhsl(255.94 77.42% 48.63%)
OKLCHoklch(0.46 0.25 281.59)
CMYKcmyk(64.09% 87.27% 0% 13.73%)
Android#ff4f1cdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4f1cdc;
background-color: #4f1cdc;
bg-[#4f1cdc]