#604CBE#604CBE

#604CBE is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.171 H 286.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#604CBE
RGBrgb(96, 76, 190)
HSLhsl(251, 47%, 52%)
HSVhsv(251, 60%, 75%)
CMYKcmyk(49.5%, 60%, 0%, 25.5%)
CIE-LABlab(40.20, 37.80, -57.42)
CIE-LCHlch(40.20, 68.75, 303.36°)
OKLaboklab(50.03% 0.0487 -0.1643)
OKLCHoklch(50.03% 0.171 286.5)
XYZxyz(16.6998, 11.3726, 50.0204)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CBE #AABE4C
analogous
#4C71BE #604CBE #994CBE
triadic
#604CBE #BE604C #4CBE60
tetradic
#604CBE #BE4C71 #AABE4C #4CBE99
square
#604CBE #BE4C71 #AABE4C #4CBE99
split-complementary
#604CBE #BE994C #71BE4C
monochromatic
#322669 #473796 #604CBE #8879CE #B0A6DF

Accessibility & contrast

On white

6.41
#604CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604CBE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CBE#FFFFFF#000000##FFFFFF
##604CBE1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#3F667E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604cbe;
/* rgb */ color: rgb(96, 76, 190);
/* oklch */ color: oklch(50.0% 0.171 286.5);
Tailwind
colors: {
  custom: {
    50: '#947fd2',
    500: '#604cbe',
    950: '#000000',
  },
}
SCSS
$custom: #604cbe;
$custom-light: #947fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#604cbe",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 250.526,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50029,
    "c": 0.17135,
    "h": 286.5
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#604CBE
secondary
#C3CC9A
accent
#D651BF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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