#604CA7#604CA7

#604CA7 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.4% C 0.141 H 290.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#604CA7
RGBrgb(96, 76, 167)
HSLhsl(253, 37%, 48%)
HSVhsv(253, 54%, 65%)
CMYKcmyk(42.5%, 54.5%, 0%, 34.5%)
CIE-LABlab(38.63, 30.96, -46.39)
CIE-LCHlch(38.63, 55.77, 303.72°)
OKLaboklab(48.37% 0.0487 -0.1318)
OKLCHoklch(48.37% 0.141 290.3)
XYZxyz(14.3814, 10.4452, 37.8101)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CA7 #93A74C
analogous
#4C65A7 #604CA7 #8E4CA7
triadic
#604CA7 #A7604C #4CA760
tetradic
#604CA7 #A74C65 #93A74C #4CA78E
square
#604CA7 #A74C65 #93A74C #4CA78E
split-complementary
#604CA7 #A78E4C #65A74C
monochromatic
#302653 #48397D #604CA7 #8372BF #A89CD2

Accessibility & contrast

On white

6.80
#604CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#604CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CA7
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CA7#FFFFFF#000000##FFFFFF
##604CA71.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205DAA
Deuteranopia (green-blind)
#2359A5
Tritanopia (blue-blind)
#4C5F72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #604ca7;
/* rgb */ color: rgb(96, 76, 167);
/* oklch */ color: oklch(48.4% 0.141 290.3);
Tailwind
colors: {
  custom: {
    50: '#927ec2',
    500: '#604ca7',
    950: '#000000',
  },
}
SCSS
$custom: #604ca7;
$custom-light: #927ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#604ca7",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 253.187,
    "s": 37.449,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4837,
    "c": 0.14054,
    "h": 290.3
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#604CA7
secondary
#B4BE90
accent
#CD5AB4
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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