#604BC6#604BC6

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

Color values

HEX#604BC6
RGBrgb(96, 75, 198)
HSLhsl(250, 52%, 54%)
HSVhsv(250, 62%, 78%)
CMYKcmyk(51.5%, 62.1%, 0%, 22.4%)
CIE-LABlab(40.57, 40.79, -61.49)
CIE-LCHlch(40.57, 73.79, 303.56°)
OKLaboklab(50.48% 0.0493 -0.1763)
OKLCHoklch(50.48% 0.183 285.6)
XYZxyz(17.5300, 11.5953, 54.7296)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BC6 #B1C64B
analogous
#4B73C6 #604BC6 #9D4BC6
triadic
#604BC6 #C6604B #4BC660
tetradic
#604BC6 #C64B73 #B1C64B #4BC69D
square
#604BC6 #C64B73 #B1C64B #4BC69D
split-complementary
#604BC6 #C69D4B #73C64B
monochromatic
#322472 #4633A1 #604BC6 #8979D5 #B2A8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##604BC6#FFFFFF#000000##FFFFFF
##604BC61.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)
#0063CA
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#396881
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #604bc6;
/* rgb */ color: rgb(96, 75, 198);
/* oklch */ color: oklch(50.5% 0.183 285.6);
Tailwind
colors: {
  custom: {
    50: '#967ed8',
    500: '#604bc6',
    950: '#000000',
  },
}
SCSS
$custom: #604bc6;
$custom-light: #967ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#604bc6",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 198
  },
  "hsl": {
    "h": 250.244,
    "s": 51.899,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50481,
    "c": 0.18303,
    "h": 285.6
  },
  "luminance": 0.11596
}

Semantic roles & 50–950 ramp

primary
#604BC6
secondary
#C8D19C
accent
#DB4CC3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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