#604AC6#604AC6

#604AC6 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.3% C 0.184 H 285.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#604AC6
RGBrgb(96, 74, 198)
HSLhsl(251, 52%, 53%)
HSVhsv(251, 63%, 78%)
CMYKcmyk(51.5%, 62.6%, 0%, 22.4%)
CIE-LABlab(40.35, 41.38, -61.85)
CIE-LCHlch(40.35, 74.41, 303.78°)
OKLaboklab(50.32% 0.0503 -0.1773)
OKLCHoklch(50.32% 0.184 285.8)
XYZxyz(17.4627, 11.4607, 54.7071)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AC6 #B0C64A
analogous
#4A72C6 #604AC6 #9E4AC6
triadic
#604AC6 #C6604A #4AC660
tetradic
#604AC6 #C64A72 #B0C64A #4AC69E
square
#604AC6 #C64A72 #B0C64A #4AC69E
split-complementary
#604AC6 #C69E4A #72C64A
monochromatic
#322472 #4632A0 #604AC6 #8979D5 #B2A7E3

Accessibility & contrast

On white

6.38
#604AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#604AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AC6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AC6#FFFFFF#000000##FFFFFF
##604AC61.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#396881
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604ac6;
/* rgb */ color: rgb(96, 74, 198);
/* oklch */ color: oklch(50.3% 0.184 285.8);
Tailwind
colors: {
  custom: {
    50: '#967ed8',
    500: '#604ac6',
    950: '#000000',
  },
}
SCSS
$custom: #604ac6;
$custom-light: #967ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#604ac6",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 198
  },
  "hsl": {
    "h": 250.645,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.18431,
    "h": 285.8
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#604AC6
secondary
#C7D19B
accent
#DC4CC2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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