#604CA5#604CA5

#604CA5 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.2% C 0.138 H 290.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#604CA5
RGBrgb(96, 76, 165)
HSLhsl(253, 37%, 47%)
HSVhsv(253, 54%, 65%)
CMYKcmyk(41.8%, 53.9%, 0%, 35.3%)
CIE-LABlab(38.50, 30.38, -45.40)
CIE-LCHlch(38.50, 54.62, 303.79°)
OKLaboklab(48.23% 0.0486 -0.1289)
OKLCHoklch(48.23% 0.138 290.6)
XYZxyz(14.1980, 10.3719, 36.8439)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CA5 #91A54C
analogous
#4C65A5 #604CA5 #8C4CA5
triadic
#604CA5 #A5604C #4CA560
tetradic
#604CA5 #A54C65 #91A54C #4CA58C
square
#604CA5 #A54C65 #91A54C #4CA58C
split-complementary
#604CA5 #A58C4C #65A54C
monochromatic
#2F2551 #48397B #604CA5 #8271BD #A79BD1

Accessibility & contrast

On white

6.83
#604CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604CA5
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CA5#FFFFFF#000000##FFFFFF
##604CA51.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA8
Deuteranopia (green-blind)
#2659A3
Tritanopia (blue-blind)
#4D5F71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #604ca5;
/* rgb */ color: rgb(96, 76, 165);
/* oklch */ color: oklch(48.2% 0.138 290.6);
Tailwind
colors: {
  custom: {
    50: '#917ec0',
    500: '#604ca5',
    950: '#000000',
  },
}
SCSS
$custom: #604ca5;
$custom-light: #917ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#604ca5",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 253.483,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.13779,
    "h": 290.6
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #604CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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