#604AB4#604AB4

#604AB4 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.9% C 0.161 H 288.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#604AB4
RGBrgb(96, 74, 180)
HSLhsl(252, 42%, 50%)
HSVhsv(252, 59%, 71%)
CMYKcmyk(46.7%, 58.9%, 0%, 29.4%)
CIE-LABlab(39.03, 36.00, -53.44)
CIE-LCHlch(39.03, 64.44, 303.97°)
OKLaboklab(48.95% 0.0512 -0.1526)
OKLCHoklch(48.95% 0.161 288.6)
XYZxyz(15.5085, 10.6790, 44.4153)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AB4 #9EB44A
analogous
#4A69B4 #604AB4 #954AB4
triadic
#604AB4 #B4604A #4AB460
tetradic
#604AB4 #B44A69 #9EB44A #4AB495
square
#604AB4 #B44A69 #9EB44A #4AB495
split-complementary
#604AB4 #B4954A #69B44A
monochromatic
#32265D #493889 #604AB4 #8675C6 #ACA0D8

Accessibility & contrast

On white

6.70
#604AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#604AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AB4
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AB4#FFFFFF#000000##FFFFFF
##604AB41.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#456278
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604ab4;
/* rgb */ color: rgb(96, 74, 180);
/* oklch */ color: oklch(48.9% 0.161 288.6);
Tailwind
colors: {
  custom: {
    50: '#937dcb',
    500: '#604ab4',
    950: '#000000',
  },
}
SCSS
$custom: #604ab4;
$custom-light: #937dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#604ab4",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 252.453,
    "s": 41.732,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48948,
    "c": 0.16094,
    "h": 288.6
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#604AB4
secondary
#BBC595
accent
#D256B8
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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