Skip to content
Vectorlight.net

#50187a

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

HEX
#50187a
RGB
80, 24, 122
HSL
274.29°, 67.12%, 28.63%
OKLCH
0.35 0.15 305.59
Names
—
Lists

Codes

FormatValue
HEX#50187a
RGBrgb(80 24 122)
HSLhsl(274.29 67.12% 28.63%)
OKLCHoklch(0.35 0.15 305.59)
CMYKcmyk(34.43% 80.33% 0% 52.16%)
Android#ff50187a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #50187a;
background-color: #50187a;
bg-[#50187a]