#604BBF#604BBF

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

Color values

HEX#604BBF
RGBrgb(96, 75, 191)
HSLhsl(251, 48%, 52%)
HSVhsv(251, 61%, 75%)
CMYKcmyk(49.7%, 60.7%, 0%, 25.1%)
CIE-LABlab(40.05, 38.69, -58.26)
CIE-LCHlch(40.05, 69.93, 303.59°)
OKLaboklab(49.94% 0.0497 -0.1667)
OKLCHoklch(49.94% 0.174 286.6)
XYZxyz(16.7412, 11.2798, 50.5752)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BBF #AABF4B
analogous
#4B70BF #604BBF #9A4BBF
triadic
#604BBF #BF604B #4BBF60
tetradic
#604BBF #BF4B70 #AABF4B #4BBF9A
square
#604BBF #BF4B70 #AABF4B #4BBF9A
split-complementary
#604BBF #BF9A4B #70BF4B
monochromatic
#32266A #473697 #604BBF #8878CF #B0A5DF

Accessibility & contrast

On white

6.45
#604BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#604BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BBF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BBF#FFFFFF#000000##FFFFFF
##604BBF1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#3E667E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604bbf;
/* rgb */ color: rgb(96, 75, 191);
/* oklch */ color: oklch(49.9% 0.174 286.6);
Tailwind
colors: {
  custom: {
    50: '#957ed3',
    500: '#604bbf',
    950: '#000000',
  },
}
SCSS
$custom: #604bbf;
$custom-light: #957ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#604bbf",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 250.862,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4994,
    "c": 0.174,
    "h": 286.6
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #604BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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