#604AC2#604AC2

#604AC2 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.0% C 0.179 H 286.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#604AC2
RGBrgb(96, 74, 194)
HSLhsl(251, 50%, 53%)
HSVhsv(251, 62%, 76%)
CMYKcmyk(50.5%, 61.9%, 0%, 23.9%)
CIE-LABlab(40.05, 40.18, -60.01)
CIE-LCHlch(40.05, 72.22, 303.80°)
OKLaboklab(50.01% 0.0506 -0.1719)
OKLCHoklch(50.01% 0.179 286.4)
XYZxyz(17.0074, 11.2786, 52.3093)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AC2 #ACC24A
analogous
#4A70C2 #604AC2 #9C4AC2
triadic
#604AC2 #C2604A #4AC260
tetradic
#604AC2 #C24A70 #ACC24A #4AC29C
square
#604AC2 #C24A70 #ACC24A #4AC29C
split-complementary
#604AC2 #C29C4A #70C24A
monochromatic
#32256D #47349B #604AC2 #8878D1 #B0A6E1

Accessibility & contrast

On white

6.45
#604AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#604AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AC2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AC2#FFFFFF#000000##FFFFFF
##604AC21.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#3C667F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604ac2;
/* rgb */ color: rgb(96, 74, 194);
/* oklch */ color: oklch(50.0% 0.179 286.4);
Tailwind
colors: {
  custom: {
    50: '#957dd5',
    500: '#604ac2',
    950: '#000000',
  },
}
SCSS
$custom: #604ac2;
$custom-light: #957dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#604ac2",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 251,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50008,
    "c": 0.1792,
    "h": 286.4
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#604AC2
secondary
#C4CE9A
accent
#D94FC0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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