Skip to content
Vectorlight.net

#28116a

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

HEX
#28116a
RGB
40, 17, 106
HSL
255.51°, 72.36%, 24.12%
OKLCH
0.28 0.14 284.81
Names
—
Lists

Codes

FormatValue
HEX#28116a
RGBrgb(40 17 106)
HSLhsl(255.51 72.36% 24.12%)
OKLCHoklch(0.28 0.14 284.81)
CMYKcmyk(62.26% 83.96% 0% 58.43%)
Android#ff28116a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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