#604EB8#604EB8

#604EB8 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.9% C 0.161 H 286.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#604EB8
RGBrgb(96, 78, 184)
HSLhsl(250, 43%, 51%)
HSVhsv(250, 58%, 72%)
CMYKcmyk(47.8%, 57.6%, 0%, 27.8%)
CIE-LABlab(40.24, 34.80, -53.85)
CIE-LCHlch(40.24, 64.11, 302.87°)
OKLaboklab(49.92% 0.0466 -0.1538)
OKLCHoklch(49.92% 0.161 286.9)
XYZxyz(16.1975, 11.3956, 46.6842)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EB8 #A6B84E
analogous
#4E71B8 #604EB8 #954EB8
triadic
#604EB8 #B8604E #4EB860
tetradic
#604EB8 #B84E71 #A6B84E #4EB895
square
#604EB8 #B84E71 #A6B84E #4EB895
split-complementary
#604EB8 #B8954E #71B84E
monochromatic
#322864 #48398F #604EB8 #877ACA #AEA5DB

Accessibility & contrast

On white

6.40
#604EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#604EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EB8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EB8#FFFFFF#000000##FFFFFF
##604EB81.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BC
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#43667B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604eb8;
/* rgb */ color: rgb(96, 78, 184);
/* oklch */ color: oklch(49.9% 0.161 286.9);
Tailwind
colors: {
  custom: {
    50: '#9380ce',
    500: '#604eb8',
    950: '#000000',
  },
}
SCSS
$custom: #604eb8;
$custom-light: #9380ce;
$custom-dark: #000000;
JSON
{
  "hex": "#604eb8",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 250.189,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49923,
    "c": 0.16067,
    "h": 286.9
  },
  "luminance": 0.11396
}

Semantic roles & 50–950 ramp

primary
#604EB8
secondary
#C0C89A
accent
#D355BD
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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