#604EAA#604EAA

#604EAA is a mid, vivid violet. Relative luminance 0.108; OKLCH L 48.9% C 0.142 H 289.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#604EAA
RGBrgb(96, 78, 170)
HSLhsl(252, 37%, 49%)
HSVhsv(252, 54%, 67%)
CMYKcmyk(43.5%, 54.1%, 0%, 33.3%)
CIE-LABlab(39.31, 30.62, -47.09)
CIE-LCHlch(39.31, 56.17, 303.04°)
OKLaboklab(48.93% 0.0463 -0.1339)
OKLCHoklch(48.93% 0.142 289.1)
XYZxyz(14.8019, 10.8373, 39.3343)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EAA #98AA4E
analogous
#4E6AAA #604EAA #8E4EAA
triadic
#604EAA #AA604E #4EAA60
tetradic
#604EAA #AA4E6A #98AA4E #4EAA8E
square
#604EAA #AA4E6A #98AA4E #4EAA8E
split-complementary
#604EAA #AA8E4E #6AAA4E
monochromatic
#312856 #483B80 #604EAA #8475C0 #A99FD3

Accessibility & contrast

On white

6.63
#604EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#604EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EAA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EAA#FFFFFF#000000##FFFFFF
##604EAA1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225EAD
Deuteranopia (green-blind)
#235AA8
Tritanopia (blue-blind)
#4A6274
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #604eaa;
/* rgb */ color: rgb(96, 78, 170);
/* oklch */ color: oklch(48.9% 0.142 289.1);
Tailwind
colors: {
  custom: {
    50: '#9280c4',
    500: '#604eaa',
    950: '#000000',
  },
}
SCSS
$custom: #604eaa;
$custom-light: #9280c4;
$custom-dark: #000000;
JSON
{
  "hex": "#604eaa",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 251.739,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48933,
    "c": 0.14167,
    "h": 289.1
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#604EAA
secondary
#B7C094
accent
#CD5BB7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #604EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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