#604AA5#604AA5

#604AA5 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 47.9% C 0.141 H 291.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#604AA5
RGBrgb(96, 74, 165)
HSLhsl(255, 38%, 47%)
HSVhsv(255, 55%, 65%)
CMYKcmyk(41.8%, 55.2%, 0%, 35.3%)
CIE-LABlab(38.02, 31.59, -46.17)
CIE-LCHlch(38.02, 55.95, 304.38°)
OKLaboklab(47.88% 0.0511 -0.1312)
OKLCHoklch(47.88% 0.141 291.3)
XYZxyz(14.0623, 10.1006, 36.7987)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AA5 #8FA54A
analogous
#4A62A5 #604AA5 #8D4AA5
triadic
#604AA5 #A5604A #4AA560
tetradic
#604AA5 #A54A62 #8FA54A #4AA58D
square
#604AA5 #A54A62 #8FA54A #4AA58D
split-complementary
#604AA5 #A58D4A #62A54A
monochromatic
#2F2450 #47377B #604AA5 #816EBE #A698D1

Accessibility & contrast

On white

6.95
#604AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#604AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AA5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AA5#FFFFFF#000000##FFFFFF
##604AA51.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5BA8
Deuteranopia (green-blind)
#2258A3
Tritanopia (blue-blind)
#4D5D70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #604aa5;
/* rgb */ color: rgb(96, 74, 165);
/* oklch */ color: oklch(47.9% 0.141 291.3);
Tailwind
colors: {
  custom: {
    50: '#917dc0',
    500: '#604aa5',
    950: '#000000',
  },
}
SCSS
$custom: #604aa5;
$custom-light: #917dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#604aa5",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 254.505,
    "s": 38.075,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47877,
    "c": 0.14082,
    "h": 291.3
  },
  "luminance": 0.10101
}

Semantic roles & 50–950 ramp

primary
#604AA5
secondary
#B2BD8E
accent
#CE5AB2
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #604AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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