#604AB7#604AB7

#604AB7 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.2% C 0.165 H 288.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#604AB7
RGBrgb(96, 74, 183)
HSLhsl(252, 43%, 50%)
HSVhsv(252, 60%, 72%)
CMYKcmyk(47.5%, 59.6%, 0%, 28.2%)
CIE-LABlab(39.25, 36.89, -54.86)
CIE-LCHlch(39.25, 66.12, 303.92°)
OKLaboklab(49.17% 0.0511 -0.1568)
OKLCHoklch(49.17% 0.165 288.1)
XYZxyz(15.8174, 10.8026, 46.0422)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AB7 #A1B74A
analogous
#4A6AB7 #604AB7 #964AB7
triadic
#604AB7 #B7604A #4AB760
tetradic
#604AB7 #B74A6A #A1B74A #4AB796
square
#604AB7 #B74A6A #A1B74A #4AB796
split-complementary
#604AB7 #B7964A #6AB74A
monochromatic
#322660 #49388C #604AB7 #8676C8 #ADA2DA

Accessibility & contrast

On white

6.64
#604AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#604AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AB7
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AB7#FFFFFF#000000##FFFFFF
##604AB71.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#436379
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604ab7;
/* rgb */ color: rgb(96, 74, 183);
/* oklch */ color: oklch(49.2% 0.165 288.1);
Tailwind
colors: {
  custom: {
    50: '#947dcd',
    500: '#604ab7',
    950: '#000000',
  },
}
SCSS
$custom: #604ab7;
$custom-light: #947dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#604ab7",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 183
  },
  "hsl": {
    "h": 252.11,
    "s": 43.083,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4917,
    "c": 0.16491,
    "h": 288.1
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#604AB7
secondary
#BDC796
accent
#D355B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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