Skip to content
Vectorlight.net

#30179d

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

HEX
#30179d
RGB
48, 23, 157
HSL
251.19°, 74.44%, 35.29%
OKLCH
0.35 0.19 278.28
Names
—
Lists

Codes

FormatValue
HEX#30179d
RGBrgb(48 23 157)
HSLhsl(251.19 74.44% 35.29%)
OKLCHoklch(0.35 0.19 278.28)
CMYKcmyk(69.43% 85.35% 0% 38.43%)
Android#ff30179d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #30179d;
background-color: #30179d;
bg-[#30179d]