#604CC4#604CC4

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

Color values

HEX#604CC4
RGBrgb(96, 76, 196)
HSLhsl(250, 50%, 53%)
HSVhsv(250, 61%, 77%)
CMYKcmyk(51%, 61.2%, 0%, 23.1%)
CIE-LABlab(40.64, 39.61, -60.21)
CIE-LCHlch(40.64, 72.07, 303.34°)
OKLaboklab(50.49% 0.0484 -0.1725)
OKLCHoklch(50.49% 0.179 285.7)
XYZxyz(17.3692, 11.6403, 53.5454)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CC4 #B0C44C
analogous
#4C74C4 #604CC4 #9C4CC4
triadic
#604CC4 #C4604C #4CC460
tetradic
#604CC4 #C44C74 #B0C44C #4CC49C
square
#604CC4 #C44C74 #B0C44C #4CC49C
split-complementary
#604CC4 #C49C4C #74C44C
monochromatic
#322571 #46349F #604CC4 #897AD3 #B2A8E2

Accessibility & contrast

On white

6.31
#604CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#604CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CC4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CC4#FFFFFF#000000##FFFFFF
##604CC41.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#3A6881
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #604cc4;
/* rgb */ color: rgb(96, 76, 196);
/* oklch */ color: oklch(50.5% 0.179 285.7);
Tailwind
colors: {
  custom: {
    50: '#957fd7',
    500: '#604cc4',
    950: '#000000',
  },
}
SCSS
$custom: #604cc4;
$custom-light: #957fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#604cc4",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 250,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50488,
    "c": 0.17916,
    "h": 285.7
  },
  "luminance": 0.11641
}

Semantic roles & 50–950 ramp

primary
#604CC4
secondary
#C7D09C
accent
#DA4EC3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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