#604AC5#604AC5

#604AC5 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.2% C 0.183 H 286.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#604AC5
RGBrgb(96, 74, 197)
HSLhsl(251, 51%, 53%)
HSVhsv(251, 62%, 77%)
CMYKcmyk(51.3%, 62.4%, 0%, 22.7%)
CIE-LABlab(40.27, 41.08, -61.39)
CIE-LCHlch(40.27, 73.87, 303.79°)
OKLaboklab(50.24% 0.0504 -0.176)
OKLCHoklch(50.24% 0.183 286)
XYZxyz(17.3477, 11.4147, 54.1017)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AC5 #AFC54A
analogous
#4A71C5 #604AC5 #9D4AC5
triadic
#604AC5 #C5604A #4AC560
tetradic
#604AC5 #C54A71 #AFC54A #4AC59D
square
#604AC5 #C54A71 #AFC54A #4AC59D
split-complementary
#604AC5 #C59D4A #71C54A
monochromatic
#322471 #46339F #604AC5 #8978D4 #B1A7E3

Accessibility & contrast

On white

6.40
#604AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#604AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AC5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AC5#FFFFFF#000000##FFFFFF
##604AC51.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#3A6780
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604ac5;
/* rgb */ color: rgb(96, 74, 197);
/* oklch */ color: oklch(50.2% 0.183 286.0);
Tailwind
colors: {
  custom: {
    50: '#957ed7',
    500: '#604ac5',
    950: '#000000',
  },
}
SCSS
$custom: #604ac5;
$custom-light: #957ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#604ac5",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 250.732,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50242,
    "c": 0.18303,
    "h": 286
  },
  "luminance": 0.11416
}

Semantic roles & 50–950 ramp

primary
#604AC5
secondary
#C6D09B
accent
#DB4DC2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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