Skip to content
Vectorlight.net

#503c8e

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

HEX
#503c8e
RGB
80, 60, 142
HSL
254.63°, 40.59%, 39.61%
OKLCH
0.42 0.13 291.01
Names
—
Lists

Codes

FormatValue
HEX#503c8e
RGBrgb(80 60 142)
HSLhsl(254.63 40.59% 39.61%)
OKLCHoklch(0.42 0.13 291.01)
CMYKcmyk(43.66% 57.75% 0% 44.31%)
Android#ff503c8e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #503c8e;
background-color: #503c8e;
bg-[#503c8e]