#604AA4#604AA4

#604AA4 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 47.8% C 0.139 H 291.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#604AA4
RGBrgb(96, 74, 164)
HSLhsl(255, 38%, 47%)
HSVhsv(255, 55%, 64%)
CMYKcmyk(41.5%, 54.9%, 0%, 35.7%)
CIE-LABlab(37.96, 31.30, -45.68)
CIE-LCHlch(37.96, 55.37, 304.43°)
OKLaboklab(47.81% 0.0511 -0.1298)
OKLCHoklch(47.81% 0.139 291.5)
XYZxyz(13.9717, 10.0643, 36.3212)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AA4 #8EA44A
analogous
#4A61A4 #604AA4 #8D4AA4
triadic
#604AA4 #A4604A #4AA460
tetradic
#604AA4 #A44A61 #8EA44A #4AA48D
square
#604AA4 #A44A61 #8EA44A #4AA48D
split-complementary
#604AA4 #A48D4A #61A44A
monochromatic
#2F2450 #47377A #604AA4 #816EBD #A698D0

Accessibility & contrast

On white

6.97
#604AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#604AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AA4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AA4#FFFFFF#000000##FFFFFF
##604AA41.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA7
Deuteranopia (green-blind)
#2457A2
Tritanopia (blue-blind)
#4E5D70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #604aa4;
/* rgb */ color: rgb(96, 74, 164);
/* oklch */ color: oklch(47.8% 0.139 291.5);
Tailwind
colors: {
  custom: {
    50: '#917dbf',
    500: '#604aa4',
    950: '#000000',
  },
}
SCSS
$custom: #604aa4;
$custom-light: #917dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#604aa4",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 254.667,
    "s": 37.815,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47809,
    "c": 0.13946,
    "h": 291.5
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#604AA4
secondary
#B1BD8D
accent
#CE5AB1
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #604AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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