Skip to content
Vectorlight.net

#301366

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

HEX
#301366
RGB
48, 19, 102
HSL
260.96°, 68.6%, 23.73%
OKLCH
0.29 0.13 291.69
Names
—
Lists

Codes

FormatValue
HEX#301366
RGBrgb(48 19 102)
HSLhsl(260.96 68.6% 23.73%)
OKLCHoklch(0.29 0.13 291.69)
CMYKcmyk(52.94% 81.37% 0% 60%)
Android#ff301366

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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