#604EA8#604EA8

#604EA8 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 48.8% C 0.139 H 289.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#604EA8
RGBrgb(96, 78, 168)
HSLhsl(252, 37%, 48%)
HSVhsv(252, 54%, 66%)
CMYKcmyk(42.9%, 53.6%, 0%, 34.1%)
CIE-LABlab(39.18, 30.03, -46.10)
CIE-LCHlch(39.18, 55.02, 303.08°)
OKLaboklab(48.8% 0.0462 -0.131)
OKLCHoklch(48.8% 0.139 289.4)
XYZxyz(14.6142, 10.7622, 38.3455)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EA8 #96A84E
analogous
#4E69A8 #604EA8 #8D4EA8
triadic
#604EA8 #A8604E #4EA860
tetradic
#604EA8 #A84E69 #96A84E #4EA88D
square
#604EA8 #A84E69 #96A84E #4EA88D
split-complementary
#604EA8 #A88D4E #69A84E
monochromatic
#302754 #483B7E #604EA8 #8375BF #A99ED2

Accessibility & contrast

On white

6.66
#604EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604EA8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EA8#FFFFFF#000000##FFFFFF
##604EA81.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245EAB
Deuteranopia (green-blind)
#265AA6
Tritanopia (blue-blind)
#4B6173
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604ea8;
/* rgb */ color: rgb(96, 78, 168);
/* oklch */ color: oklch(48.8% 0.139 289.4);
Tailwind
colors: {
  custom: {
    50: '#9280c2',
    500: '#604ea8',
    950: '#000000',
  },
}
SCSS
$custom: #604ea8;
$custom-light: #9280c2;
$custom-dark: #000000;
JSON
{
  "hex": "#604ea8",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 252,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48797,
    "c": 0.13891,
    "h": 289.4
  },
  "luminance": 0.10763
}

Semantic roles & 50–950 ramp

primary
#604EA8
secondary
#B6BF93
accent
#CD5BB6
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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