#604AB3#604AB3

#604AB3 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.9% C 0.160 H 288.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#604AB3
RGBrgb(96, 74, 179)
HSLhsl(253, 42%, 50%)
HSVhsv(253, 59%, 70%)
CMYKcmyk(46.4%, 58.7%, 0%, 29.8%)
CIE-LABlab(38.96, 35.71, -52.96)
CIE-LCHlch(38.96, 63.88, 303.99°)
OKLaboklab(48.87% 0.0512 -0.1512)
OKLCHoklch(48.87% 0.16 288.7)
XYZxyz(15.4070, 10.6384, 43.8807)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AB3 #9DB34A
analogous
#4A69B3 #604AB3 #944AB3
triadic
#604AB3 #B3604A #4AB360
tetradic
#604AB3 #B34A69 #9DB34A #4AB394
square
#604AB3 #B34A69 #9DB34A #4AB394
split-complementary
#604AB3 #B3944A #69B34A
monochromatic
#32265C #493888 #604AB3 #8574C6 #ABA0D8

Accessibility & contrast

On white

6.71
#604AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#604AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AB3
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AB3#FFFFFF#000000##FFFFFF
##604AB31.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#466277
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604ab3;
/* rgb */ color: rgb(96, 74, 179);
/* oklch */ color: oklch(48.9% 0.160 288.7);
Tailwind
colors: {
  custom: {
    50: '#937dca',
    500: '#604ab3',
    950: '#000000',
  },
}
SCSS
$custom: #604ab3;
$custom-light: #937dca;
$custom-dark: #000000;
JSON
{
  "hex": "#604ab3",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 179
  },
  "hsl": {
    "h": 252.571,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48874,
    "c": 0.15962,
    "h": 288.7
  },
  "luminance": 0.10639
}

Semantic roles & 50–950 ramp

primary
#604AB3
secondary
#BAC494
accent
#D156B8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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