Skip to content
Vectorlight.net

#510550

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

HEX
#510550
RGB
81, 5, 80
HSL
300.79°, 88.37%, 16.86%
OKLCH
0.31 0.13 328.88
Names
—
Lists

Codes

FormatValue
HEX#510550
RGBrgb(81 5 80)
HSLhsl(300.79 88.37% 16.86%)
OKLCHoklch(0.31 0.13 328.88)
CMYKcmyk(0% 93.83% 1.23% 68.24%)
Android#ff510550

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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