#604AB9#604AB9

#604AB9 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.3% C 0.168 H 287.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#604AB9
RGBrgb(96, 74, 185)
HSLhsl(252, 44%, 51%)
HSVhsv(252, 60%, 73%)
CMYKcmyk(48.1%, 60%, 0%, 27.5%)
CIE-LABlab(39.39, 37.49, -55.81)
CIE-LCHlch(39.39, 67.23, 303.89°)
OKLaboklab(49.32% 0.0511 -0.1595)
OKLCHoklch(49.32% 0.168 287.7)
XYZxyz(16.0271, 10.8865, 47.1464)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AB9 #A3B94A
analogous
#4A6BB9 #604AB9 #974AB9
triadic
#604AB9 #B9604A #4AB960
tetradic
#604AB9 #B94A6B #A3B94A #4AB997
square
#604AB9 #B94A6B #A3B94A #4AB997
split-complementary
#604AB9 #B9974A #6BB94A
monochromatic
#322663 #49378F #604AB9 #8776CA #AEA2DB

Accessibility & contrast

On white

6.61
#604AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#604AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AB9
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AB9#FFFFFF#000000##FFFFFF
##604AB91.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#42647A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #604ab9;
/* rgb */ color: rgb(96, 74, 185);
/* oklch */ color: oklch(49.3% 0.168 287.7);
Tailwind
colors: {
  custom: {
    50: '#947dcf',
    500: '#604ab9',
    950: '#000000',
  },
}
SCSS
$custom: #604ab9;
$custom-light: #947dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#604ab9",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 185
  },
  "hsl": {
    "h": 251.892,
    "s": 44.223,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4932,
    "c": 0.16752,
    "h": 287.7
  },
  "luminance": 0.10887
}

Semantic roles & 50–950 ramp

primary
#604AB9
secondary
#BEC897
accent
#D454BB
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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