Skip to content
Vectorlight.net

#5f075c

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

HEX
#5f075c
RGB
95, 7, 92
HSL
302.05°, 86.27%, 20%
OKLCH
0.34 0.15 329.9
Names
—
Lists

Codes

FormatValue
HEX#5f075c
RGBrgb(95 7 92)
HSLhsl(302.05 86.27% 20%)
OKLCHoklch(0.34 0.15 329.9)
CMYKcmyk(0% 92.63% 3.16% 62.75%)
Android#ff5f075c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5f075c;
background-color: #5f075c;
bg-[#5f075c]