#604AB5#604AB5

#604AB5 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.0% C 0.162 H 288.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#604AB5
RGBrgb(96, 74, 181)
HSLhsl(252, 42%, 50%)
HSVhsv(252, 59%, 71%)
CMYKcmyk(47%, 59.1%, 0%, 29%)
CIE-LABlab(39.10, 36.30, -53.92)
CIE-LCHlch(39.10, 65.00, 303.95°)
OKLaboklab(49.02% 0.0512 -0.154)
OKLCHoklch(49.02% 0.162 288.4)
XYZxyz(15.6107, 10.7199, 44.9537)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AB5 #9FB54A
analogous
#4A6AB5 #604AB5 #954AB5
triadic
#604AB5 #B5604A #4AB560
tetradic
#604AB5 #B54A6A #9FB54A #4AB595
square
#604AB5 #B54A6A #9FB54A #4AB595
split-complementary
#604AB5 #B5954A #6AB54A
monochromatic
#32265E #49388A #604AB5 #8675C7 #ACA1D9

Accessibility & contrast

On white

6.68
#604AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#604AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AB5
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AB5#FFFFFF#000000##FFFFFF
##604AB51.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#456278
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604ab5;
/* rgb */ color: rgb(96, 74, 181);
/* oklch */ color: oklch(49.0% 0.162 288.4);
Tailwind
colors: {
  custom: {
    50: '#937dcc',
    500: '#604ab5',
    950: '#000000',
  },
}
SCSS
$custom: #604ab5;
$custom-light: #937dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#604ab5",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 181
  },
  "hsl": {
    "h": 252.336,
    "s": 41.961,
    "l": 50
  },
  "oklch": {
    "l": 0.49021,
    "c": 0.16227,
    "h": 288.4
  },
  "luminance": 0.10721
}

Semantic roles & 50–950 ramp

primary
#604AB5
secondary
#BCC595
accent
#D256B8
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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