#604ACC#604ACC

#604ACC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.192 H 285.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#604ACC
RGBrgb(96, 74, 204)
HSLhsl(250, 56%, 55%)
HSVhsv(250, 64%, 80%)
CMYKcmyk(52.9%, 63.7%, 0%, 20%)
CIE-LABlab(40.80, 43.18, -64.58)
CIE-LCHlch(40.80, 77.69, 303.77°)
OKLaboklab(50.8% 0.0498 -0.1853)
OKLCHoklch(50.8% 0.192 285)
XYZxyz(18.1685, 11.7430, 58.4243)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604ACC #B6CC4A
analogous
#4A75CC #604ACC #A14ACC
triadic
#604ACC #CC604A #4ACC60
tetradic
#604ACC #CC4A75 #B6CC4A #4ACCA1
square
#604ACC #CC4A75 #B6CC4A #4ACCA1
split-complementary
#604ACC #CCA14A #75CC4A
monochromatic
#312279 #4430A9 #604ACC #8A7AD9 #B4A9E7

Accessibility & contrast

On white

6.27
#604ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#604ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604ACC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604ACC#FFFFFF#000000##FFFFFF
##604ACC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#336A84
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #604acc;
/* rgb */ color: rgb(96, 74, 204);
/* oklch */ color: oklch(50.8% 0.192 285.0);
Tailwind
colors: {
  custom: {
    50: '#967edc',
    500: '#604acc',
    950: '#000000',
  },
}
SCSS
$custom: #604acc;
$custom-light: #967edc;
$custom-dark: #000000;
JSON
{
  "hex": "#604acc",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 250.154,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50799,
    "c": 0.19192,
    "h": 285
  },
  "luminance": 0.11744
}

Semantic roles & 50–950 ramp

primary
#604ACC
secondary
#CBD49D
accent
#DF48C6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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