#604CA8#604CA8

#604CA8 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.4% C 0.142 H 290.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#604CA8
RGBrgb(96, 76, 168)
HSLhsl(253, 38%, 48%)
HSVhsv(253, 55%, 66%)
CMYKcmyk(42.9%, 54.8%, 0%, 34.1%)
CIE-LABlab(38.69, 31.25, -46.88)
CIE-LCHlch(38.69, 56.34, 303.69°)
OKLaboklab(48.44% 0.0487 -0.1333)
OKLCHoklch(48.44% 0.142 290.1)
XYZxyz(14.4742, 10.4824, 38.2989)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CA8 #94A84C
analogous
#4C66A8 #604CA8 #8E4CA8
triadic
#604CA8 #A8604C #4CA860
tetradic
#604CA8 #A84C66 #94A84C #4CA88E
square
#604CA8 #A84C66 #94A84C #4CA88E
split-complementary
#604CA8 #A88E4C #66A84C
monochromatic
#302654 #48397E #604CA8 #8372BF #A89CD2

Accessibility & contrast

On white

6.78
#604CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#604CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CA8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CA8#FFFFFF#000000##FFFFFF
##604CA81.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5DAB
Deuteranopia (green-blind)
#2259A6
Tritanopia (blue-blind)
#4B6072
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #604ca8;
/* rgb */ color: rgb(96, 76, 168);
/* oklch */ color: oklch(48.4% 0.142 290.1);
Tailwind
colors: {
  custom: {
    50: '#927ec2',
    500: '#604ca8',
    950: '#000000',
  },
}
SCSS
$custom: #604ca8;
$custom-light: #927ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#604ca8",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 253.043,
    "s": 37.705,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48438,
    "c": 0.14191,
    "h": 290.1
  },
  "luminance": 0.10483
}

Semantic roles & 50–950 ramp

primary
#604CA8
secondary
#B5BF91
accent
#CE5AB5
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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