#604EB2#604EB2

#604EB2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.5% C 0.153 H 287.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#604EB2
RGBrgb(96, 78, 178)
HSLhsl(251, 39%, 50%)
HSVhsv(251, 56%, 70%)
CMYKcmyk(46.1%, 56.2%, 0%, 30.2%)
CIE-LABlab(39.83, 33.00, -50.98)
CIE-LCHlch(39.83, 60.73, 302.92°)
OKLaboklab(49.49% 0.0466 -0.1453)
OKLCHoklch(49.49% 0.153 287.8)
XYZxyz(15.5818, 11.1493, 43.4419)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EB2 #A0B24E
analogous
#4E6EB2 #604EB2 #924EB2
triadic
#604EB2 #B2604E #4EB260
tetradic
#604EB2 #B24E6E #A0B24E #4EB292
square
#604EB2 #B24E6E #A0B24E #4EB292
split-complementary
#604EB2 #B2924E #6EB24E
monochromatic
#32295D #493B88 #604EB2 #8679C5 #ADA3D7

Accessibility & contrast

On white

6.50
#604EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604EB2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EB2#FFFFFF#000000##FFFFFF
##604EB21.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B5
Deuteranopia (green-blind)
#145BB0
Tritanopia (blue-blind)
#466478
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604eb2;
/* rgb */ color: rgb(96, 78, 178);
/* oklch */ color: oklch(49.5% 0.153 287.8);
Tailwind
colors: {
  custom: {
    50: '#9380ca',
    500: '#604eb2',
    950: '#000000',
  },
}
SCSS
$custom: #604eb2;
$custom-light: #9380ca;
$custom-dark: #000000;
JSON
{
  "hex": "#604eb2",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 250.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49491,
    "c": 0.1526,
    "h": 287.8
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#604EB2
secondary
#BCC498
accent
#CF59BA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #604EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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