#604CB3#604CB3

#604CB3 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.2% C 0.157 H 288.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#604CB3
RGBrgb(96, 76, 179)
HSLhsl(252, 40%, 50%)
HSVhsv(252, 58%, 70%)
CMYKcmyk(46.4%, 57.5%, 0%, 29.8%)
CIE-LABlab(39.43, 34.51, -52.22)
CIE-LCHlch(39.43, 62.59, 303.46°)
OKLaboklab(49.22% 0.0489 -0.149)
OKLCHoklch(49.22% 0.157 288.2)
XYZxyz(15.5427, 10.9097, 43.9259)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CB3 #9FB34C
analogous
#4C6CB3 #604CB3 #934CB3
triadic
#604CB3 #B3604C #4CB360
tetradic
#604CB3 #B34C6C #9FB34C #4CB393
square
#604CB3 #B34C6C #9FB34C #4CB393
split-complementary
#604CB3 #B3934C #6CB34C
monochromatic
#32285D #493A88 #604CB3 #8677C5 #ACA2D7

Accessibility & contrast

On white

6.60
#604CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#604CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CB3
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CB3#FFFFFF#000000##FFFFFF
##604CB31.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055FB6
Deuteranopia (green-blind)
#085AB1
Tritanopia (blue-blind)
#466378
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #604cb3;
/* rgb */ color: rgb(96, 76, 179);
/* oklch */ color: oklch(49.2% 0.157 288.2);
Tailwind
colors: {
  custom: {
    50: '#937fca',
    500: '#604cb3',
    950: '#000000',
  },
}
SCSS
$custom: #604cb3;
$custom-light: #937fca;
$custom-dark: #000000;
JSON
{
  "hex": "#604cb3",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 251.65,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.49215,
    "c": 0.15679,
    "h": 288.2
  },
  "luminance": 0.1091
}

Semantic roles & 50–950 ramp

primary
#604CB3
secondary
#BCC496
accent
#D058B9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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