#604CB6#604CB6

#604CB6 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.4% C 0.161 H 287.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#604CB6
RGBrgb(96, 76, 182)
HSLhsl(251, 42%, 51%)
HSVhsv(251, 58%, 71%)
CMYKcmyk(47.3%, 58.2%, 0%, 28.6%)
CIE-LABlab(39.63, 35.40, -53.65)
CIE-LCHlch(39.63, 64.28, 303.42°)
OKLaboklab(49.43% 0.0489 -0.1532)
OKLCHoklch(49.43% 0.161 287.7)
XYZxyz(15.8494, 11.0324, 45.5413)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CB6 #A2B64C
analogous
#4C6DB6 #604CB6 #954CB6
triadic
#604CB6 #B6604C #4CB660
tetradic
#604CB6 #B64C6D #A2B64C #4CB695
square
#604CB6 #B64C6D #A2B64C #4CB695
split-complementary
#604CB6 #B6954C #6DB64C
monochromatic
#322760 #49398C #604CB6 #8777C8 #ADA3D9

Accessibility & contrast

On white

6.55
#604CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#604CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CB6
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CB6#FFFFFF#000000##FFFFFF
##604CB61.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#446479
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #604cb6;
/* rgb */ color: rgb(96, 76, 182);
/* oklch */ color: oklch(49.4% 0.161 287.7);
Tailwind
colors: {
  custom: {
    50: '#937fcd',
    500: '#604cb6',
    950: '#000000',
  },
}
SCSS
$custom: #604cb6;
$custom-light: #937fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#604cb6",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 182
  },
  "hsl": {
    "h": 251.321,
    "s": 42.063,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49434,
    "c": 0.1608,
    "h": 287.7
  },
  "luminance": 0.11033
}

Semantic roles & 50–950 ramp

primary
#604CB6
secondary
#BEC697
accent
#D256BA
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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