Skip to content
Vectorlight.net

#54099c

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

HEX
#54099c
RGB
84, 9, 156
HSL
270.61°, 89.09%, 32.35%
OKLCH
0.38 0.2 297.72
Names
—
Lists

Codes

FormatValue
HEX#54099c
RGBrgb(84 9 156)
HSLhsl(270.61 89.09% 32.35%)
OKLCHoklch(0.38 0.2 297.72)
CMYKcmyk(46.15% 94.23% 0% 38.82%)
Android#ff54099c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #54099c;
background-color: #54099c;
bg-[#54099c]