#604AB2#604AB2

#604AB2 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.8% C 0.158 H 288.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#604AB2
RGBrgb(96, 74, 178)
HSLhsl(253, 41%, 49%)
HSVhsv(253, 58%, 70%)
CMYKcmyk(46.1%, 58.4%, 0%, 30.2%)
CIE-LABlab(38.90, 35.41, -52.48)
CIE-LCHlch(38.90, 63.31, 304.01°)
OKLaboklab(48.8% 0.0513 -0.1498)
OKLCHoklch(48.8% 0.158 288.9)
XYZxyz(15.3062, 10.5981, 43.3500)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AB2 #9CB24A
analogous
#4A68B2 #604AB2 #944AB2
triadic
#604AB2 #B2604A #4AB260
tetradic
#604AB2 #B24A68 #9CB24A #4AB294
square
#604AB2 #B24A68 #9CB24A #4AB294
split-complementary
#604AB2 #B2944A #68B24A
monochromatic
#31265C #493887 #604AB2 #8574C5 #AB9FD7

Accessibility & contrast

On white

6.73
#604AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#604AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AB2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AB2#FFFFFF#000000##FFFFFF
##604AB21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#0159B0
Tritanopia (blue-blind)
#466177
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604ab2;
/* rgb */ color: rgb(96, 74, 178);
/* oklch */ color: oklch(48.8% 0.158 288.9);
Tailwind
colors: {
  custom: {
    50: '#937dca',
    500: '#604ab2',
    950: '#000000',
  },
}
SCSS
$custom: #604ab2;
$custom-light: #937dca;
$custom-dark: #000000;
JSON
{
  "hex": "#604ab2",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 252.692,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48801,
    "c": 0.1583,
    "h": 288.9
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#604AB2
secondary
#BAC494
accent
#D157B7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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