#604CB2#604CB2

#604CB2 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.1% C 0.155 H 288.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#604CB2
RGBrgb(96, 76, 178)
HSLhsl(252, 40%, 50%)
HSVhsv(252, 57%, 70%)
CMYKcmyk(46.1%, 57.3%, 0%, 30.2%)
CIE-LABlab(39.36, 34.21, -51.74)
CIE-LCHlch(39.36, 62.02, 303.47°)
OKLaboklab(49.14% 0.0489 -0.1476)
OKLCHoklch(49.14% 0.155 288.3)
XYZxyz(15.4419, 10.8694, 43.3952)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CB2 #9EB24C
analogous
#4C6BB2 #604CB2 #934CB2
triadic
#604CB2 #B2604C #4CB260
tetradic
#604CB2 #B24C6B #9EB24C #4CB293
square
#604CB2 #B24C6B #9EB24C #4CB293
split-complementary
#604CB2 #B2934C #6BB24C
monochromatic
#32275C #493A87 #604CB2 #8676C5 #ACA1D7

Accessibility & contrast

On white

6.62
#604CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#604CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CB2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CB2#FFFFFF#000000##FFFFFF
##604CB21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095FB5
Deuteranopia (green-blind)
#0C5AB0
Tritanopia (blue-blind)
#466377
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #604cb2;
/* rgb */ color: rgb(96, 76, 178);
/* oklch */ color: oklch(49.1% 0.155 288.3);
Tailwind
colors: {
  custom: {
    50: '#937fca',
    500: '#604cb2',
    950: '#000000',
  },
}
SCSS
$custom: #604cb2;
$custom-light: #937fca;
$custom-dark: #000000;
JSON
{
  "hex": "#604cb2",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 251.765,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49143,
    "c": 0.15545,
    "h": 288.3
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#604CB2
secondary
#BBC496
accent
#D058B8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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