#604EA0#604EA0

#604EA0 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.3% C 0.128 H 290.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#604EA0
RGBrgb(96, 78, 160)
HSLhsl(253, 34%, 47%)
HSVhsv(253, 51%, 63%)
CMYKcmyk(40%, 51.2%, 0%, 37.3%)
CIE-LABlab(38.68, 27.69, -42.13)
CIE-LCHlch(38.68, 50.41, 303.32°)
OKLaboklab(48.27% 0.0457 -0.1193)
OKLCHoklch(48.27% 0.128 290.9)
XYZxyz(13.8917, 10.4732, 34.5405)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EA0 #8EA04E
analogous
#4E65A0 #604EA0 #894EA0
triadic
#604EA0 #A0604E #4EA060
tetradic
#604EA0 #A04E65 #8EA04E #4EA089
square
#604EA0 #A04E65 #8EA04E #4EA089
split-complementary
#604EA0 #A0894E #65A04E
monochromatic
#2F264E #473A77 #604EA0 #8171BA #A69ACE

Accessibility & contrast

On white

6.79
#604EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604EA0
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EA0#FFFFFF#000000##FFFFFF
##604EA01.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA3
Deuteranopia (green-blind)
#2F599E
Tritanopia (blue-blind)
#4F5F6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #604ea0;
/* rgb */ color: rgb(96, 78, 160);
/* oklch */ color: oklch(48.3% 0.128 290.9);
Tailwind
colors: {
  custom: {
    50: '#9180bc',
    500: '#604ea0',
    950: '#000000',
  },
}
SCSS
$custom: #604ea0;
$custom-light: #9180bc;
$custom-dark: #000000;
JSON
{
  "hex": "#604ea0",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 253.171,
    "s": 34.454,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48265,
    "c": 0.12776,
    "h": 290.9
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#604EA0
secondary
#B1BB8F
accent
#CB5DB3
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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