#604AC9#604AC9

#604AC9 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.188 H 285.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#604AC9
RGBrgb(96, 74, 201)
HSLhsl(250, 54%, 54%)
HSVhsv(250, 63%, 79%)
CMYKcmyk(52.2%, 63.2%, 0%, 21.2%)
CIE-LABlab(40.57, 42.28, -63.22)
CIE-LCHlch(40.57, 76.05, 303.77°)
OKLaboklab(50.56% 0.05 -0.1813)
OKLCHoklch(50.56% 0.188 285.4)
XYZxyz(17.8121, 11.6005, 56.5476)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AC9 #B3C94A
analogous
#4A74C9 #604AC9 #A04AC9
triadic
#604AC9 #C9604A #4AC960
tetradic
#604AC9 #C94A74 #B3C94A #4AC9A0
square
#604AC9 #C94A74 #B3C94A #4AC9A0
split-complementary
#604AC9 #C9A04A #74C94A
monochromatic
#312376 #4531A5 #604AC9 #8979D7 #B3A8E5

Accessibility & contrast

On white

6.32
#604AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#604AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AC9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AC9#FFFFFF#000000##FFFFFF
##604AC91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#366983
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #604ac9;
/* rgb */ color: rgb(96, 74, 201);
/* oklch */ color: oklch(50.6% 0.188 285.4);
Tailwind
colors: {
  custom: {
    50: '#967eda',
    500: '#604ac9',
    950: '#000000',
  },
}
SCSS
$custom: #604ac9;
$custom-light: #967eda;
$custom-dark: #000000;
JSON
{
  "hex": "#604ac9",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 201
  },
  "hsl": {
    "h": 250.394,
    "s": 54.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50559,
    "c": 0.18813,
    "h": 285.4
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#604AC9
secondary
#C9D29C
accent
#DD4AC4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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