#604DBE#604DBE

#604DBE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.2% C 0.170 H 286.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#604DBE
RGBrgb(96, 77, 190)
HSLhsl(250, 47%, 52%)
HSVhsv(250, 59%, 75%)
CMYKcmyk(49.5%, 59.5%, 0%, 25.5%)
CIE-LABlab(40.43, 37.20, -57.05)
CIE-LCHlch(40.43, 68.11, 303.11°)
OKLaboklab(50.2% 0.0476 -0.1632)
OKLCHoklch(50.2% 0.17 286.3)
XYZxyz(16.7693, 11.5115, 50.0436)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604DBE #ABBE4D
analogous
#4D73BE #604DBE #984DBE
triadic
#604DBE #BE604D #4DBE60
tetradic
#604DBE #BE4D73 #ABBE4D #4DBE98
square
#604DBE #BE4D73 #ABBE4D #4DBE98
split-complementary
#604DBE #BE984D #73BE4D
monochromatic
#32276A #473797 #604DBE #887ACE #B0A7DF

Accessibility & contrast

On white

6.36
#604DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#604DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604DBE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604DBE#FFFFFF#000000##FFFFFF
##604DBE1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #604dbe;
/* rgb */ color: rgb(96, 77, 190);
/* oklch */ color: oklch(50.2% 0.170 286.3);
Tailwind
colors: {
  custom: {
    50: '#947fd2',
    500: '#604dbe',
    950: '#000000',
  },
}
SCSS
$custom: #604dbe;
$custom-light: #947fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#604dbe",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 250.088,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.17001,
    "h": 286.3
  },
  "luminance": 0.11512
}

Semantic roles & 50–950 ramp

primary
#604DBE
secondary
#C4CC9B
accent
#D652C0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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