#604CB9#604CB9

#604CB9 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.7% C 0.165 H 287.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#604CB9
RGBrgb(96, 76, 185)
HSLhsl(251, 44%, 51%)
HSVhsv(251, 59%, 73%)
CMYKcmyk(48.1%, 58.9%, 0%, 27.5%)
CIE-LABlab(39.84, 36.30, -55.07)
CIE-LCHlch(39.84, 65.96, 303.39°)
OKLaboklab(49.66% 0.0488 -0.1574)
OKLCHoklch(49.66% 0.165 287.2)
XYZxyz(16.1627, 11.1578, 47.1916)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CB9 #A5B94C
analogous
#4C6EB9 #604CB9 #964CB9
triadic
#604CB9 #B9604C #4CB960
tetradic
#604CB9 #B94C6E #A5B94C #4CB996
square
#604CB9 #B94C6E #A5B94C #4CB996
split-complementary
#604CB9 #B9964C #6EB94C
monochromatic
#322764 #483890 #604CB9 #8778CA #AEA4DB

Accessibility & contrast

On white

6.50
#604CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#604CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CB9
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CB9#FFFFFF#000000##FFFFFF
##604CB91.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#42657B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604cb9;
/* rgb */ color: rgb(96, 76, 185);
/* oklch */ color: oklch(49.7% 0.165 287.2);
Tailwind
colors: {
  custom: {
    50: '#947fcf',
    500: '#604cb9',
    950: '#000000',
  },
}
SCSS
$custom: #604cb9;
$custom-light: #947fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#604cb9",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 251.009,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.16478,
    "h": 287.2
  },
  "luminance": 0.11158
}

Semantic roles & 50–950 ramp

primary
#604CB9
secondary
#C0C898
accent
#D454BC
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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