#604AB1#604AB1

#604AB1 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.7% C 0.157 H 289.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#604AB1
RGBrgb(96, 74, 177)
HSLhsl(253, 41%, 49%)
HSVhsv(253, 58%, 69%)
CMYKcmyk(45.8%, 58.2%, 0%, 30.6%)
CIE-LABlab(38.83, 35.11, -52.01)
CIE-LCHlch(38.83, 62.75, 304.03°)
OKLaboklab(48.73% 0.0513 -0.1484)
OKLCHoklch(48.73% 0.157 289.1)
XYZxyz(15.2062, 10.5581, 42.8232)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AB1 #9BB14A
analogous
#4A67B1 #604AB1 #944AB1
triadic
#604AB1 #B1604A #4AB160
tetradic
#604AB1 #B14A67 #9BB14A #4AB194
square
#604AB1 #B14A67 #9BB14A #4AB194
split-complementary
#604AB1 #B1944A #67B14A
monochromatic
#31265B #493886 #604AB1 #8574C5 #AB9FD7

Accessibility & contrast

On white

6.75
#604AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#604AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AB1
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AB1#FFFFFF#000000##FFFFFF
##604AB11.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB4
Deuteranopia (green-blind)
#0659AF
Tritanopia (blue-blind)
#476176
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #604ab1;
/* rgb */ color: rgb(96, 74, 177);
/* oklch */ color: oklch(48.7% 0.157 289.1);
Tailwind
colors: {
  custom: {
    50: '#937dc9',
    500: '#604ab1',
    950: '#000000',
  },
}
SCSS
$custom: #604ab1;
$custom-light: #937dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#604ab1",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 177
  },
  "hsl": {
    "h": 252.816,
    "s": 41.036,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48728,
    "c": 0.15698,
    "h": 289.1
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#604AB1
secondary
#B9C393
accent
#D157B7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604AB1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#604AB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva