Skip to content
Vectorlight.net

#301168

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

HEX
#301168
RGB
48, 17, 104
HSL
261.38°, 71.9%, 23.73%
OKLCH
0.29 0.14 291.38
Names
—
Lists

Codes

FormatValue
HEX#301168
RGBrgb(48 17 104)
HSLhsl(261.38 71.9% 23.73%)
OKLCHoklch(0.29 0.14 291.38)
CMYKcmyk(53.85% 83.65% 0% 59.22%)
Android#ff301168

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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