Skip to content
Vectorlight.net

#28035a

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

HEX
#28035a
RGB
40, 3, 90
HSL
265.52°, 93.55%, 18.24%
OKLCH
0.25 0.13 292.67
Names
—
Lists

Codes

FormatValue
HEX#28035a
RGBrgb(40 3 90)
HSLhsl(265.52 93.55% 18.24%)
OKLCHoklch(0.25 0.13 292.67)
CMYKcmyk(55.56% 96.67% 0% 64.71%)
Android#ff28035a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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