#604CA1#604CA1

#604CA1 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.0% C 0.132 H 291.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#604CA1
RGBrgb(96, 76, 161)
HSLhsl(254, 36%, 46%)
HSVhsv(254, 53%, 63%)
CMYKcmyk(40.4%, 52.8%, 0%, 36.9%)
CIE-LABlab(38.25, 29.21, -43.41)
CIE-LCHlch(38.25, 52.33, 303.94°)
OKLaboklab(47.96% 0.0484 -0.1231)
OKLCHoklch(47.96% 0.132 291.4)
XYZxyz(13.8396, 10.2285, 34.9564)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CA1 #8DA14C
analogous
#4C63A1 #604CA1 #8B4CA1
triadic
#604CA1 #A1604C #4CA160
tetradic
#604CA1 #A14C63 #8DA14C #4CA18B
square
#604CA1 #A14C63 #8DA14C #4CA18B
split-complementary
#604CA1 #A18B4C #63A14C
monochromatic
#2E254E #473877 #604CA1 #816FBB #A599CF

Accessibility & contrast

On white

6.89
#604CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#604CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CA1
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CA1#FFFFFF#000000##FFFFFF
##604CA11.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285BA4
Deuteranopia (green-blind)
#2B589F
Tritanopia (blue-blind)
#4F5E6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #604ca1;
/* rgb */ color: rgb(96, 76, 161);
/* oklch */ color: oklch(48.0% 0.132 291.4);
Tailwind
colors: {
  custom: {
    50: '#917ebd',
    500: '#604ca1',
    950: '#000000',
  },
}
SCSS
$custom: #604ca1;
$custom-light: #917ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#604ca1",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 254.118,
    "s": 35.865,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47964,
    "c": 0.13227,
    "h": 291.4
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#604CA1
secondary
#B0BB8E
accent
#CC5CB2
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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