#604BB4#604BB4

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

Color values

HEX#604BB4
RGBrgb(96, 75, 180)
HSLhsl(252, 41%, 50%)
HSVhsv(252, 58%, 71%)
CMYKcmyk(46.7%, 58.3%, 0%, 29.4%)
CIE-LABlab(39.26, 35.41, -53.07)
CIE-LCHlch(39.26, 63.79, 303.71°)
OKLaboklab(49.12% 0.0501 -0.1515)
OKLCHoklch(49.12% 0.16 288.3)
XYZxyz(15.5758, 10.8136, 44.4377)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BB4 #9FB44B
analogous
#4B6BB4 #604BB4 #944BB4
triadic
#604BB4 #B4604B #4BB460
tetradic
#604BB4 #B44B6B #9FB44B #4BB494
square
#604BB4 #B44B6B #9FB44B #4BB494
split-complementary
#604BB4 #B4944B #6BB44B
monochromatic
#32275E #493989 #604BB4 #8676C6 #ACA1D8

Accessibility & contrast

On white

6.64
#604BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#604BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BB4
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BB4#FFFFFF#000000##FFFFFF
##604BB41.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#456378
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604bb4;
/* rgb */ color: rgb(96, 75, 180);
/* oklch */ color: oklch(49.1% 0.160 288.3);
Tailwind
colors: {
  custom: {
    50: '#937ecb',
    500: '#604bb4',
    950: '#000000',
  },
}
SCSS
$custom: #604bb4;
$custom-light: #937ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#604bb4",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 252,
    "s": 41.176,
    "l": 50
  },
  "oklch": {
    "l": 0.49117,
    "c": 0.15955,
    "h": 288.3
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#604BB4
secondary
#BCC596
accent
#D157B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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