#604DB5#604DB5

#604DB5 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.5% C 0.158 H 287.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#604DB5
RGBrgb(96, 77, 181)
HSLhsl(251, 41%, 51%)
HSVhsv(251, 57%, 71%)
CMYKcmyk(47%, 57.5%, 0%, 29%)
CIE-LABlab(39.80, 34.50, -52.79)
CIE-LCHlch(39.80, 63.07, 303.16°)
OKLaboklab(49.53% 0.0478 -0.1507)
OKLCHoklch(49.53% 0.158 287.6)
XYZxyz(15.8158, 11.1301, 45.0221)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604DB5 #A2B54D
analogous
#4D6EB5 #604DB5 #944DB5
triadic
#604DB5 #B5604D #4DB560
tetradic
#604DB5 #B54D6E #A2B54D #4DB594
square
#604DB5 #B54D6E #A2B54D #4DB594
split-complementary
#604DB5 #B5944D #6EB54D
monochromatic
#322860 #493A8B #604DB5 #8778C7 #ADA3D9

Accessibility & contrast

On white

6.51
#604DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#604DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604DB5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604DB5#FFFFFF#000000##FFFFFF
##604DB51.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0460B8
Deuteranopia (green-blind)
#055BB3
Tritanopia (blue-blind)
#446479
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604db5;
/* rgb */ color: rgb(96, 77, 181);
/* oklch */ color: oklch(49.5% 0.158 287.6);
Tailwind
colors: {
  custom: {
    50: '#937fcc',
    500: '#604db5',
    950: '#000000',
  },
}
SCSS
$custom: #604db5;
$custom-light: #937fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#604db5",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 250.962,
    "s": 41.27,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49532,
    "c": 0.15806,
    "h": 287.6
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #604DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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