Skip to content
Vectorlight.net

#301070

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

HEX
#301070
RGB
48, 16, 112
HSL
260°, 75%, 25.1%
OKLCH
0.3 0.15 288.91
Names
—
Lists

Codes

FormatValue
HEX#301070
RGBrgb(48 16 112)
HSLhsl(260 75% 25.1%)
OKLCHoklch(0.3 0.15 288.91)
CMYKcmyk(57.14% 85.71% 0% 56.08%)
Android#ff301070

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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