#604BBB#604BBB

#604BBB is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.6% C 0.169 H 287.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#604BBB
RGBrgb(96, 75, 187)
HSLhsl(251, 45%, 51%)
HSVhsv(251, 60%, 73%)
CMYKcmyk(48.7%, 59.9%, 0%, 26.7%)
CIE-LABlab(39.76, 37.49, -56.38)
CIE-LCHlch(39.76, 67.71, 303.62°)
OKLaboklab(49.64% 0.0499 -0.1612)
OKLCHoklch(49.64% 0.169 287.2)
XYZxyz(16.3070, 11.1061, 48.2885)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BBB #A6BB4B
analogous
#4B6EBB #604BBB #984BBB
triadic
#604BBB #BB604B #4BBB60
tetradic
#604BBB #BB4B6E #A6BB4B #4BBB98
square
#604BBB #BB4B6E #A6BB4B #4BBB98
split-complementary
#604BBB #BB984B #6EBB4B
monochromatic
#322665 #483792 #604BBB #8777CC #AEA4DD

Accessibility & contrast

On white

6.52
#604BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#604BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BBB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BBB#FFFFFF#000000##FFFFFF
##604BBB1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#41657C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604bbb;
/* rgb */ color: rgb(96, 75, 187);
/* oklch */ color: oklch(49.6% 0.169 287.2);
Tailwind
colors: {
  custom: {
    50: '#947ed0',
    500: '#604bbb',
    950: '#000000',
  },
}
SCSS
$custom: #604bbb;
$custom-light: #947ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#604bbb",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 251.25,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49637,
    "c": 0.16878,
    "h": 287.2
  },
  "luminance": 0.11107
}

Semantic roles & 50–950 ramp

primary
#604BBB
secondary
#C0CA98
accent
#D553BC
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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