#604CC0#604CC0

#604CC0 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.2% C 0.174 H 286.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#604CC0
RGBrgb(96, 76, 192)
HSLhsl(250, 48%, 53%)
HSVhsv(250, 60%, 75%)
CMYKcmyk(50%, 60.4%, 0%, 24.7%)
CIE-LABlab(40.35, 38.40, -58.36)
CIE-LCHlch(40.35, 69.86, 303.35°)
OKLaboklab(50.18% 0.0486 -0.167)
OKLCHoklch(50.18% 0.174 286.2)
XYZxyz(16.9199, 11.4606, 51.1795)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CC0 #ACC04C
analogous
#4C72C0 #604CC0 #9A4CC0
triadic
#604CC0 #C0604C #4CC060
tetradic
#604CC0 #C04C72 #ACC04C #4CC09A
square
#604CC0 #C04C72 #ACC04C #4CC09A
split-complementary
#604CC0 #C09A4C #72C04C
monochromatic
#32266C #473699 #604CC0 #8879D0 #B0A7E0

Accessibility & contrast

On white

6.38
#604CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#604CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CC0
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CC0#FFFFFF#000000##FFFFFF
##604CC01.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #604cc0;
/* rgb */ color: rgb(96, 76, 192);
/* oklch */ color: oklch(50.2% 0.174 286.2);
Tailwind
colors: {
  custom: {
    50: '#957fd4',
    500: '#604cc0',
    950: '#000000',
  },
}
SCSS
$custom: #604cc0;
$custom-light: #957fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#604cc0",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 250.345,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50181,
    "c": 0.17396,
    "h": 286.2
  },
  "luminance": 0.11461
}

Semantic roles & 50–950 ramp

primary
#604CC0
secondary
#C4CD9B
accent
#D850C0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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