#604EA4#604EA4

#604EA4 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.5% C 0.133 H 290.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#604EA4
RGBrgb(96, 78, 164)
HSLhsl(253, 36%, 47%)
HSVhsv(253, 52%, 64%)
CMYKcmyk(41.5%, 52.4%, 0%, 35.7%)
CIE-LABlab(38.93, 28.86, -44.12)
CIE-LCHlch(38.93, 52.72, 303.18°)
OKLaboklab(48.53% 0.046 -0.1252)
OKLCHoklch(48.53% 0.133 290.2)
XYZxyz(14.2473, 10.6155, 36.4131)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EA4 #92A44E
analogous
#4E67A4 #604EA4 #8B4EA4
triadic
#604EA4 #A4604E #4EA460
tetradic
#604EA4 #A44E67 #92A44E #4EA48B
square
#604EA4 #A44E67 #92A44E #4EA48B
split-complementary
#604EA4 #A48B4E #67A44E
monochromatic
#2F2751 #483A7B #604EA4 #8273BC #A79CD0

Accessibility & contrast

On white

6.72
#604EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#604EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EA4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EA4#FFFFFF#000000##FFFFFF
##604EA41.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA7
Deuteranopia (green-blind)
#2B5AA2
Tritanopia (blue-blind)
#4D6071
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604ea4;
/* rgb */ color: rgb(96, 78, 164);
/* oklch */ color: oklch(48.5% 0.133 290.2);
Tailwind
colors: {
  custom: {
    50: '#9180bf',
    500: '#604ea4',
    950: '#000000',
  },
}
SCSS
$custom: #604ea4;
$custom-light: #9180bf;
$custom-dark: #000000;
JSON
{
  "hex": "#604ea4",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 252.558,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48528,
    "c": 0.13336,
    "h": 290.2
  },
  "luminance": 0.10616
}

Semantic roles & 50–950 ramp

primary
#604EA4
secondary
#B4BD91
accent
#CC5CB4
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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