Skip to content
Vectorlight.net

#301355

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

HEX
#301355
RGB
48, 19, 85
HSL
266.36°, 63.46%, 20.39%
OKLCH
0.27 0.11 298.72
Names
—
Lists

Codes

FormatValue
HEX#301355
RGBrgb(48 19 85)
HSLhsl(266.36 63.46% 20.39%)
OKLCHoklch(0.27 0.11 298.72)
CMYKcmyk(43.53% 77.65% 0% 66.67%)
Android#ff301355

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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