#604EA7#604EA7

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

Color values

HEX#604EA7
RGBrgb(96, 78, 167)
HSLhsl(252, 36%, 48%)
HSVhsv(252, 53%, 65%)
CMYKcmyk(42.5%, 53.3%, 0%, 34.5%)
CIE-LABlab(39.11, 29.74, -45.61)
CIE-LCHlch(39.11, 54.45, 303.10°)
OKLaboklab(48.73% 0.0462 -0.1296)
OKLCHoklch(48.73% 0.138 289.6)
XYZxyz(14.5214, 10.7251, 37.8568)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EA7 #95A74E
analogous
#4E68A7 #604EA7 #8C4EA7
triadic
#604EA7 #A7604E #4EA760
tetradic
#604EA7 #A74E68 #95A74E #4EA78C
square
#604EA7 #A74E68 #95A74E #4EA78C
split-complementary
#604EA7 #A78C4E #68A74E
monochromatic
#302754 #483B7D #604EA7 #8374BE #A89ED2

Accessibility & contrast

On white

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

On black

3.15
#604EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##604EA7#FFFFFF#000000##FFFFFF
##604EA71.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255EAA
Deuteranopia (green-blind)
#275AA5
Tritanopia (blue-blind)
#4C6173
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604ea7;
/* rgb */ color: rgb(96, 78, 167);
/* oklch */ color: oklch(48.7% 0.138 289.6);
Tailwind
colors: {
  custom: {
    50: '#9180c2',
    500: '#604ea7',
    950: '#000000',
  },
}
SCSS
$custom: #604ea7;
$custom-light: #9180c2;
$custom-dark: #000000;
JSON
{
  "hex": "#604ea7",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 252.135,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.13754,
    "h": 289.6
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

primary
#604EA7
secondary
#B6BE92
accent
#CC5BB6
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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