Skip to content
Vectorlight.net

#28024a

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

HEX
#28024a
RGB
40, 2, 74
HSL
271.67°, 94.74%, 14.9%
OKLCH
0.23 0.12 300.86
Names
—
Lists

Codes

FormatValue
HEX#28024a
RGBrgb(40 2 74)
HSLhsl(271.67 94.74% 14.9%)
OKLCHoklch(0.23 0.12 300.86)
CMYKcmyk(45.95% 97.3% 0% 70.98%)
Android#ff28024a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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