#604BB5#604BB5

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

Color values

HEX#604BB5
RGBrgb(96, 75, 181)
HSLhsl(252, 42%, 50%)
HSVhsv(252, 59%, 71%)
CMYKcmyk(47%, 58.6%, 0%, 29%)
CIE-LABlab(39.33, 35.70, -53.55)
CIE-LCHlch(39.33, 64.36, 303.69°)
OKLaboklab(49.19% 0.0501 -0.1529)
OKLCHoklch(49.19% 0.161 288.1)
XYZxyz(15.6780, 10.8545, 44.9762)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BB5 #A0B54B
analogous
#4B6BB5 #604BB5 #954BB5
triadic
#604BB5 #B5604B #4BB560
tetradic
#604BB5 #B54B6B #A0B54B #4BB595
square
#604BB5 #B54B6B #A0B54B #4BB595
split-complementary
#604BB5 #B5954B #6BB54B
monochromatic
#32275F #49398A #604BB5 #8676C7 #ADA2D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##604BB5#FFFFFF#000000##FFFFFF
##604BB51.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)
#005FB9
Deuteranopia (green-blind)
#005AB3
Tritanopia (blue-blind)
#456379
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #604bb5;
/* rgb */ color: rgb(96, 75, 181);
/* oklch */ color: oklch(49.2% 0.161 288.1);
Tailwind
colors: {
  custom: {
    50: '#937ecc',
    500: '#604bb5',
    950: '#000000',
  },
}
SCSS
$custom: #604bb5;
$custom-light: #937ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#604bb5",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 251.887,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4919,
    "c": 0.16087,
    "h": 288.1
  },
  "luminance": 0.10855
}

Semantic roles & 50–950 ramp

primary
#604BB5
secondary
#BCC696
accent
#D256B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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