#604CC2#604CC2

#604CC2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.3% C 0.177 H 285.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#604CC2
RGBrgb(96, 76, 194)
HSLhsl(250, 49%, 53%)
HSVhsv(250, 61%, 76%)
CMYKcmyk(50.5%, 60.8%, 0%, 23.9%)
CIE-LABlab(40.49, 39.00, -59.29)
CIE-LCHlch(40.49, 70.96, 303.34°)
OKLaboklab(50.33% 0.0485 -0.1698)
OKLCHoklch(50.33% 0.177 285.9)
XYZxyz(17.1430, 11.5499, 52.3545)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CC2 #AEC24C
analogous
#4C73C2 #604CC2 #9B4CC2
triadic
#604CC2 #C2604C #4CC260
tetradic
#604CC2 #C24C73 #AEC24C #4CC29B
square
#604CC2 #C24C73 #AEC24C #4CC29B
split-complementary
#604CC2 #C29B4C #73C24C
monochromatic
#32266E #46359C #604CC2 #897AD2 #B1A7E1

Accessibility & contrast

On white

6.34
#604CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#604CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CC2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CC2#FFFFFF#000000##FFFFFF
##604CC21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#3C6880
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604cc2;
/* rgb */ color: rgb(96, 76, 194);
/* oklch */ color: oklch(50.3% 0.177 285.9);
Tailwind
colors: {
  custom: {
    50: '#957fd5',
    500: '#604cc2',
    950: '#000000',
  },
}
SCSS
$custom: #604cc2;
$custom-light: #957fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#604cc2",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 250.169,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50334,
    "c": 0.17656,
    "h": 285.9
  },
  "luminance": 0.11551
}

Semantic roles & 50–950 ramp

primary
#604CC2
secondary
#C6CE9B
accent
#D94FC1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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