Skip to content
Vectorlight.net

#150042

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

HEX
#150042
RGB
21, 0, 66
HSL
259.09°, 100%, 12.94%
OKLCH
0.19 0.11 285.94
Names
—
Lists

Codes

FormatValue
HEX#150042
RGBrgb(21 0 66)
HSLhsl(259.09 100% 12.94%)
OKLCHoklch(0.19 0.11 285.94)
CMYKcmyk(68.18% 100% 0% 74.12%)
Android#ff150042

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #150042;
background-color: #150042;
bg-[#150042]