#604AC1#604AC1

#604AC1 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.9% C 0.178 H 286.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#604AC1
RGBrgb(96, 74, 193)
HSLhsl(251, 49%, 52%)
HSVhsv(251, 62%, 76%)
CMYKcmyk(50.3%, 61.7%, 0%, 24.3%)
CIE-LABlab(39.97, 39.88, -59.55)
CIE-LCHlch(39.97, 71.67, 303.81°)
OKLaboklab(49.93% 0.0507 -0.1705)
OKLCHoklch(49.93% 0.178 286.5)
XYZxyz(16.8955, 11.2338, 51.7198)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AC1 #ABC14A
analogous
#4A70C1 #604AC1 #9B4AC1
triadic
#604AC1 #C1604A #4AC160
tetradic
#604AC1 #C14A70 #ABC14A #4AC19B
square
#604AC1 #C14A70 #ABC14A #4AC19B
split-complementary
#604AC1 #C19B4A #70C14A
monochromatic
#32256C #473599 #604AC1 #8878D1 #B0A5E0

Accessibility & contrast

On white

6.47
#604AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#604AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AC1
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AC1#FFFFFF#000000##FFFFFF
##604AC11.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#3D667E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604ac1;
/* rgb */ color: rgb(96, 74, 193);
/* oklch */ color: oklch(49.9% 0.178 286.5);
Tailwind
colors: {
  custom: {
    50: '#957dd5',
    500: '#604ac1',
    950: '#000000',
  },
}
SCSS
$custom: #604ac1;
$custom-light: #957dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#604ac1",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 193
  },
  "hsl": {
    "h": 251.092,
    "s": 48.971,
    "l": 52.353
  },
  "oklch": {
    "l": 0.4993,
    "c": 0.17791,
    "h": 286.5
  },
  "luminance": 0.11235
}

Semantic roles & 50–950 ramp

primary
#604AC1
secondary
#C4CD99
accent
#D94FBF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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