#604CBD#604CBD

#604CBD is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.0% C 0.170 H 286.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#604CBD
RGBrgb(96, 76, 189)
HSLhsl(251, 46%, 52%)
HSVhsv(251, 60%, 74%)
CMYKcmyk(49.2%, 59.8%, 0%, 25.9%)
CIE-LABlab(40.13, 37.50, -56.95)
CIE-LCHlch(40.13, 68.19, 303.36°)
OKLaboklab(49.95% 0.0487 -0.1629)
OKLCHoklch(49.95% 0.17 286.6)
XYZxyz(16.5909, 11.3290, 49.4468)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CBD #A9BD4C
analogous
#4C71BD #604CBD #984CBD
triadic
#604CBD #BD604C #4CBD60
tetradic
#604CBD #BD4C71 #A9BD4C #4CBD98
square
#604CBD #BD4C71 #A9BD4C #4CBD98
split-complementary
#604CBD #BD984C #71BD4C
monochromatic
#322668 #483795 #604CBD #8879CD #AFA5DE

Accessibility & contrast

On white

6.43
#604CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#604CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CBD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CBD#FFFFFF#000000##FFFFFF
##604CBD1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#3F667D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604cbd;
/* rgb */ color: rgb(96, 76, 189);
/* oklch */ color: oklch(50.0% 0.170 286.6);
Tailwind
colors: {
  custom: {
    50: '#947fd2',
    500: '#604cbd',
    950: '#000000',
  },
}
SCSS
$custom: #604cbd;
$custom-light: #947fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#604cbd",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 250.619,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49954,
    "c": 0.17005,
    "h": 286.6
  },
  "luminance": 0.1133
}

Semantic roles & 50–950 ramp

primary
#604CBD
secondary
#C2CB9A
accent
#D652BE
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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