#604CAE#604CAE

#604CAE is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.9% C 0.150 H 289.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#604CAE
RGBrgb(96, 76, 174)
HSLhsl(252, 39%, 49%)
HSVhsv(252, 56%, 68%)
CMYKcmyk(44.8%, 56.3%, 0%, 31.8%)
CIE-LABlab(39.09, 33.02, -49.81)
CIE-LCHlch(39.09, 59.76, 303.55°)
OKLaboklab(48.86% 0.0489 -0.1419)
OKLCHoklch(48.86% 0.15 289)
XYZxyz(15.0461, 10.7111, 41.3109)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CAE #9AAE4C
analogous
#4C69AE #604CAE #914CAE
triadic
#604CAE #AE604C #4CAE60
tetradic
#604CAE #AE4C69 #9AAE4C #4CAE91
square
#604CAE #AE4C69 #9AAE4C #4CAE91
split-complementary
#604CAE #AE914C #69AE4C
monochromatic
#312759 #493983 #604CAE #8575C3 #AA9FD5

Accessibility & contrast

On white

6.68
#604CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#604CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CAE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CAE#FFFFFF#000000##FFFFFF
##604CAE1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145EB1
Deuteranopia (green-blind)
#175AAC
Tritanopia (blue-blind)
#486175
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604cae;
/* rgb */ color: rgb(96, 76, 174);
/* oklch */ color: oklch(48.9% 0.150 289.0);
Tailwind
colors: {
  custom: {
    50: '#927ec7',
    500: '#604cae',
    950: '#000000',
  },
}
SCSS
$custom: #604cae;
$custom-light: #927ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#604cae",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 252.245,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48857,
    "c": 0.15007,
    "h": 289
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#604CAE
secondary
#B9C294
accent
#CF59B7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #604CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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