#604CBB#604CBB

#604CBB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.8% C 0.167 H 286.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#604CBB
RGBrgb(96, 76, 187)
HSLhsl(251, 45%, 52%)
HSVhsv(251, 59%, 73%)
CMYKcmyk(48.7%, 59.4%, 0%, 26.7%)
CIE-LABlab(39.99, 36.90, -56.01)
CIE-LCHlch(39.99, 67.08, 303.37°)
OKLaboklab(49.8% 0.0488 -0.1601)
OKLCHoklch(49.8% 0.167 286.9)
XYZxyz(16.3753, 11.2428, 48.3113)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CBB #A7BB4C
analogous
#4C70BB #604CBB #984CBB
triadic
#604CBB #BB604C #4CBB60
tetradic
#604CBB #BB4C70 #A7BB4C #4CBB98
square
#604CBB #BB4C70 #A7BB4C #4CBB98
split-complementary
#604CBB #BB984C #70BB4C
monochromatic
#322766 #483892 #604CBB #8778CC #AFA5DD

Accessibility & contrast

On white

6.46
#604CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#604CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CBB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CBB#FFFFFF#000000##FFFFFF
##604CBB1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#41657C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604cbb;
/* rgb */ color: rgb(96, 76, 187);
/* oklch */ color: oklch(49.8% 0.167 286.9);
Tailwind
colors: {
  custom: {
    50: '#947fd0',
    500: '#604cbb',
    950: '#000000',
  },
}
SCSS
$custom: #604cbb;
$custom-light: #947fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#604cbb",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 250.811,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49804,
    "c": 0.16741,
    "h": 286.9
  },
  "luminance": 0.11244
}

Semantic roles & 50–950 ramp

primary
#604CBB
secondary
#C1CA99
accent
#D553BD
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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