#604CA4#604CA4

#604CA4 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.2% C 0.136 H 290.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#604CA4
RGBrgb(96, 76, 164)
HSLhsl(254, 37%, 47%)
HSVhsv(254, 54%, 64%)
CMYKcmyk(41.5%, 53.7%, 0%, 35.7%)
CIE-LABlab(38.44, 30.08, -44.91)
CIE-LCHlch(38.44, 54.05, 303.82°)
OKLaboklab(48.17% 0.0485 -0.1275)
OKLCHoklch(48.17% 0.136 290.8)
XYZxyz(14.1073, 10.3356, 36.3664)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CA4 #90A44C
analogous
#4C64A4 #604CA4 #8C4CA4
triadic
#604CA4 #A4604C #4CA460
tetradic
#604CA4 #A44C64 #90A44C #4CA48C
square
#604CA4 #A44C64 #90A44C #4CA48C
split-complementary
#604CA4 #A48C4C #64A44C
monochromatic
#2F2550 #48397A #604CA4 #8270BD #A69AD0

Accessibility & contrast

On white

6.85
#604CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#604CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CA4
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CA4#FFFFFF#000000##FFFFFF
##604CA41.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245CA7
Deuteranopia (green-blind)
#2759A2
Tritanopia (blue-blind)
#4D5E70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #604ca4;
/* rgb */ color: rgb(96, 76, 164);
/* oklch */ color: oklch(48.2% 0.136 290.8);
Tailwind
colors: {
  custom: {
    50: '#917ebf',
    500: '#604ca4',
    950: '#000000',
  },
}
SCSS
$custom: #604ca4;
$custom-light: #917ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#604ca4",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 253.636,
    "s": 36.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48165,
    "c": 0.13642,
    "h": 290.8
  },
  "luminance": 0.10336
}

Semantic roles & 50–950 ramp

primary
#604CA4
secondary
#B2BD8F
accent
#CD5BB3
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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