#604CC3#604CC3

#604CC3 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.178 H 285.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#604CC3
RGBrgb(96, 76, 195)
HSLhsl(250, 50%, 53%)
HSVhsv(250, 61%, 76%)
CMYKcmyk(50.8%, 61%, 0%, 23.5%)
CIE-LABlab(40.57, 39.30, -59.75)
CIE-LCHlch(40.57, 71.52, 303.34°)
OKLaboklab(50.41% 0.0484 -0.1711)
OKLCHoklch(50.41% 0.178 285.8)
XYZxyz(17.2557, 11.5950, 52.9480)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CC3 #AFC34C
analogous
#4C73C3 #604CC3 #9B4CC3
triadic
#604CC3 #C3604C #4CC360
tetradic
#604CC3 #C34C73 #AFC34C #4CC39B
square
#604CC3 #C34C73 #AFC34C #4CC39B
split-complementary
#604CC3 #C39B4C #73C34C
monochromatic
#32256F #46359D #604CC3 #897AD2 #B1A8E2

Accessibility & contrast

On white

6.33
#604CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#604CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CC3
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CC3#FFFFFF#000000##FFFFFF
##604CC31.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#3B6880
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #604cc3;
/* rgb */ color: rgb(96, 76, 195);
/* oklch */ color: oklch(50.4% 0.178 285.8);
Tailwind
colors: {
  custom: {
    50: '#957fd6',
    500: '#604cc3',
    950: '#000000',
  },
}
SCSS
$custom: #604cc3;
$custom-light: #957fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#604cc3",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 250.084,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50411,
    "c": 0.17786,
    "h": 285.8
  },
  "luminance": 0.11596
}

Semantic roles & 50–950 ramp

primary
#604CC3
secondary
#C6CF9C
accent
#D94EC2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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