#604EB4#604EB4

#604EB4 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.6% C 0.155 H 287.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#604EB4
RGBrgb(96, 78, 180)
HSLhsl(251, 40%, 51%)
HSVhsv(251, 57%, 71%)
CMYKcmyk(46.7%, 56.7%, 0%, 29.4%)
CIE-LABlab(39.97, 33.60, -51.94)
CIE-LCHlch(39.97, 61.86, 302.90°)
OKLaboklab(49.63% 0.0466 -0.1481)
OKLCHoklch(49.63% 0.155 287.5)
XYZxyz(15.7841, 11.2302, 44.5071)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EB4 #A2B44E
analogous
#4E6FB4 #604EB4 #934EB4
triadic
#604EB4 #B4604E #4EB460
tetradic
#604EB4 #B44E6F #A2B44E #4EB493
square
#604EB4 #B44E6F #A2B44E #4EB493
split-complementary
#604EB4 #B4934E #6FB44E
monochromatic
#32285F #493B8A #604EB4 #8779C6 #ADA4D8

Accessibility & contrast

On white

6.47
#604EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#604EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EB4
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EB4#FFFFFF#000000##FFFFFF
##604EB41.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E61B7
Deuteranopia (green-blind)
#0E5BB2
Tritanopia (blue-blind)
#456579
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604eb4;
/* rgb */ color: rgb(96, 78, 180);
/* oklch */ color: oklch(49.6% 0.155 287.5);
Tailwind
colors: {
  custom: {
    50: '#9380cb',
    500: '#604eb4',
    950: '#000000',
  },
}
SCSS
$custom: #604eb4;
$custom-light: #9380cb;
$custom-dark: #000000;
JSON
{
  "hex": "#604eb4",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 250.588,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49634,
    "c": 0.1553,
    "h": 287.5
  },
  "luminance": 0.11231
}

Semantic roles & 50–950 ramp

primary
#604EB4
secondary
#BEC698
accent
#D057BB
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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