#604AB6#604AB6

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

Color values

HEX#604AB6
RGBrgb(96, 74, 182)
HSLhsl(252, 43%, 50%)
HSVhsv(252, 59%, 71%)
CMYKcmyk(47.3%, 59.3%, 0%, 28.6%)
CIE-LABlab(39.18, 36.60, -54.39)
CIE-LCHlch(39.18, 65.56, 303.93°)
OKLaboklab(49.1% 0.0512 -0.1554)
OKLCHoklch(49.1% 0.164 288.2)
XYZxyz(15.7137, 10.7611, 45.4960)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AB6 #A0B64A
analogous
#4A6AB6 #604AB6 #964AB6
triadic
#604AB6 #B6604A #4AB660
tetradic
#604AB6 #B64A6A #A0B64A #4AB696
square
#604AB6 #B64A6A #A0B64A #4AB696
split-complementary
#604AB6 #B6964A #6AB64A
monochromatic
#32265F #49388B #604AB6 #8676C8 #ADA1D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##604AB6#FFFFFF#000000##FFFFFF
##604AB61.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)
#005FBA
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#446379
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604ab6;
/* rgb */ color: rgb(96, 74, 182);
/* oklch */ color: oklch(49.1% 0.164 288.2);
Tailwind
colors: {
  custom: {
    50: '#937dcd',
    500: '#604ab6',
    950: '#000000',
  },
}
SCSS
$custom: #604ab6;
$custom-light: #937dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#604ab6",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 182
  },
  "hsl": {
    "h": 252.222,
    "s": 42.52,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.16359,
    "h": 288.2
  },
  "luminance": 0.10762
}

Semantic roles & 50–950 ramp

primary
#604AB6
secondary
#BCC696
accent
#D255B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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