#604DB6#604DB6

#604DB6 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.6% C 0.159 H 287.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#604DB6
RGBrgb(96, 77, 182)
HSLhsl(251, 42%, 51%)
HSVhsv(251, 58%, 71%)
CMYKcmyk(47.3%, 57.7%, 0%, 28.6%)
CIE-LABlab(39.87, 34.80, -53.27)
CIE-LCHlch(39.87, 63.63, 303.16°)
OKLaboklab(49.61% 0.0477 -0.1521)
OKLCHoklch(49.61% 0.159 287.4)
XYZxyz(15.9188, 11.1713, 45.5644)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604DB6 #A3B64D
analogous
#4D6EB6 #604DB6 #944DB6
triadic
#604DB6 #B6604D #4DB660
tetradic
#604DB6 #B64D6E #A3B64D #4DB694
square
#604DB6 #B64D6E #A3B64D #4DB694
split-complementary
#604DB6 #B6944D #6EB64D
monochromatic
#322861 #483A8C #604DB6 #8778C8 #AEA4DA

Accessibility & contrast

On white

6.49
#604DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604DB6
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604DB6#FFFFFF#000000##FFFFFF
##604DB61.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#015BB4
Tritanopia (blue-blind)
#44657A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604db6;
/* rgb */ color: rgb(96, 77, 182);
/* oklch */ color: oklch(49.6% 0.159 287.4);
Tailwind
colors: {
  custom: {
    50: '#937fcd',
    500: '#604db6',
    950: '#000000',
  },
}
SCSS
$custom: #604db6;
$custom-light: #937fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#604db6",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 182
  },
  "hsl": {
    "h": 250.857,
    "s": 41.833,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49605,
    "c": 0.1594,
    "h": 287.4
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#604DB6
secondary
#BEC798
accent
#D256BB
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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