Skip to content
Vectorlight.net

#301440

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

HEX
#301440
RGB
48, 20, 64
HSL
278.18°, 52.38%, 16.47%
OKLCH
0.26 0.08 311.24
Names
—
Lists

Codes

FormatValue
HEX#301440
RGBrgb(48 20 64)
HSLhsl(278.18 52.38% 16.47%)
OKLCHoklch(0.26 0.08 311.24)
CMYKcmyk(25% 68.75% 0% 74.9%)
Android#ff301440

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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