Skip to content
Vectorlight.net

#5f577d

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

HEX
#5f577d
RGB
95, 87, 125
HSL
252.63°, 17.92%, 41.57%
OKLCH
0.48 0.06 293.63
Names
—
Lists

Codes

FormatValue
HEX#5f577d
RGBrgb(95 87 125)
HSLhsl(252.63 17.92% 41.57%)
OKLCHoklch(0.48 0.06 293.63)
CMYKcmyk(24% 30.4% 0% 50.98%)
Android#ff5f577d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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