Skip to content
Vectorlight.net

#604bab

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

HEX
#604bab
RGB
96, 75, 171
HSL
253.13°, 39.02%, 48.24%
OKLCH
0.48 0.15 289.84
Names
—
Lists

Codes

FormatValue
HEX#604bab
RGBrgb(96 75 171)
HSLhsl(253.13 39.02% 48.24%)
OKLCHoklch(0.48 0.15 289.84)
CMYKcmyk(43.86% 56.14% 0% 32.94%)
Android#ff604bab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #604bab;
background-color: #604bab;
bg-[#604bab]