#604EB6#604EB6

#604EB6 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.8% C 0.158 H 287.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#604EB6
RGBrgb(96, 78, 182)
HSLhsl(250, 42%, 51%)
HSVhsv(250, 57%, 71%)
CMYKcmyk(47.3%, 57.1%, 0%, 28.6%)
CIE-LABlab(40.10, 34.20, -52.89)
CIE-LCHlch(40.10, 62.99, 302.88°)
OKLaboklab(49.78% 0.0466 -0.151)
OKLCHoklch(49.78% 0.158 287.2)
XYZxyz(15.9893, 11.3123, 45.5879)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EB6 #A4B64E
analogous
#4E70B6 #604EB6 #944EB6
triadic
#604EB6 #B6604E #4EB660
tetradic
#604EB6 #B64E70 #A4B64E #4EB694
square
#604EB6 #B64E70 #A4B64E #4EB694
split-complementary
#604EB6 #B6944E #70B64E
monochromatic
#322861 #483A8D #604EB6 #8779C8 #AEA5DA

Accessibility & contrast

On white

6.44
#604EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#604EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EB6
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EB6#FFFFFF#000000##FFFFFF
##604EB61.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0761B9
Deuteranopia (green-blind)
#065CB4
Tritanopia (blue-blind)
#44657A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604eb6;
/* rgb */ color: rgb(96, 78, 182);
/* oklch */ color: oklch(49.8% 0.158 287.2);
Tailwind
colors: {
  custom: {
    50: '#9380cd',
    500: '#604eb6',
    950: '#000000',
  },
}
SCSS
$custom: #604eb6;
$custom-light: #9380cd;
$custom-dark: #000000;
JSON
{
  "hex": "#604eb6",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 182
  },
  "hsl": {
    "h": 250.385,
    "s": 41.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49778,
    "c": 0.158,
    "h": 287.2
  },
  "luminance": 0.11313
}

Semantic roles & 50–950 ramp

primary
#604EB6
secondary
#BFC799
accent
#D156BC
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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