#604CC1#604CC1

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

Color values

HEX#604CC1
RGBrgb(96, 76, 193)
HSLhsl(250, 49%, 53%)
HSVhsv(250, 61%, 76%)
CMYKcmyk(50.3%, 60.6%, 0%, 24.3%)
CIE-LABlab(40.42, 38.70, -58.82)
CIE-LCHlch(40.42, 70.41, 303.34°)
OKLaboklab(50.26% 0.0485 -0.1684)
OKLCHoklch(50.26% 0.175 286.1)
XYZxyz(17.0311, 11.5051, 51.7650)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CC1 #ADC14C
analogous
#4C73C1 #604CC1 #9A4CC1
triadic
#604CC1 #C1604C #4CC160
tetradic
#604CC1 #C14C73 #ADC14C #4CC19A
square
#604CC1 #C14C73 #ADC14C #4CC19A
split-complementary
#604CC1 #C19A4C #73C14C
monochromatic
#32266D #47359A #604CC1 #8879D1 #B1A7E0

Accessibility & contrast

On white

6.36
#604CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#604CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CC1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CC1#FFFFFF#000000##FFFFFF
##604CC11.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#3D677F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604cc1;
/* rgb */ color: rgb(96, 76, 193);
/* oklch */ color: oklch(50.3% 0.175 286.1);
Tailwind
colors: {
  custom: {
    50: '#957fd5',
    500: '#604cc1',
    950: '#000000',
  },
}
SCSS
$custom: #604cc1;
$custom-light: #957fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#604cc1",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 193
  },
  "hsl": {
    "h": 250.256,
    "s": 48.548,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50257,
    "c": 0.17527,
    "h": 286.1
  },
  "luminance": 0.11506
}

Semantic roles & 50–950 ramp

primary
#604CC1
secondary
#C5CE9B
accent
#D850C1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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