#604CA0#604CA0

#604CA0 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 47.9% C 0.131 H 291.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#604CA0
RGBrgb(96, 76, 160)
HSLhsl(254, 36%, 46%)
HSVhsv(254, 53%, 63%)
CMYKcmyk(40%, 52.5%, 0%, 37.3%)
CIE-LABlab(38.19, 28.92, -42.91)
CIE-LCHlch(38.19, 51.75, 303.98°)
OKLaboklab(47.9% 0.0483 -0.1216)
OKLCHoklch(47.9% 0.131 291.7)
XYZxyz(13.7518, 10.1934, 34.4939)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CA0 #8CA04C
analogous
#4C62A0 #604CA0 #8A4CA0
triadic
#604CA0 #A0604C #4CA060
tetradic
#604CA0 #A04C62 #8CA04C #4CA08A
square
#604CA0 #A04C62 #8CA04C #4CA08A
split-complementary
#604CA0 #A08A4C #62A04C
monochromatic
#2E254D #473877 #604CA0 #816FBA #A598CE

Accessibility & contrast

On white

6.91
#604CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#604CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CA0
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CA0#FFFFFF#000000##FFFFFF
##604CA01.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295BA3
Deuteranopia (green-blind)
#2C589E
Tritanopia (blue-blind)
#4F5D6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #604ca0;
/* rgb */ color: rgb(96, 76, 160);
/* oklch */ color: oklch(47.9% 0.131 291.7);
Tailwind
colors: {
  custom: {
    50: '#917ebc',
    500: '#604ca0',
    950: '#000000',
  },
}
SCSS
$custom: #604ca0;
$custom-light: #917ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#604ca0",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 160
  },
  "hsl": {
    "h": 254.286,
    "s": 35.593,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47898,
    "c": 0.13087,
    "h": 291.7
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#604CA0
secondary
#B0BB8D
accent
#CC5CB1
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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