Skip to content
Vectorlight.net

#972054

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

HEX
#972054
RGB
151, 32, 84
HSL
333.78°, 65.03%, 35.88%
OKLCH
0.46 0.16 359.59
Names
—
Lists

Codes

FormatValue
HEX#972054
RGBrgb(151 32 84)
HSLhsl(333.78 65.03% 35.88%)
OKLCHoklch(0.46 0.16 359.59)
CMYKcmyk(0% 78.81% 44.37% 40.78%)
Android#ff972054

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #972054;
background-color: #972054;
bg-[#972054]