Skip to content
Vectorlight.net

#4f459c

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

HEX
#4f459c
RGB
79, 69, 156
HSL
246.9°, 38.67%, 44.12%
OKLCH
0.45 0.14 284.67
Names
—
Lists

Codes

FormatValue
HEX#4f459c
RGBrgb(79 69 156)
HSLhsl(246.9 38.67% 44.12%)
OKLCHoklch(0.45 0.14 284.67)
CMYKcmyk(49.36% 55.77% 0% 38.82%)
Android#ff4f459c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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