#604AA0#604AA0

#604AA0 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 47.5% C 0.134 H 292.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#604AA0
RGBrgb(96, 74, 160)
HSLhsl(255, 37%, 46%)
HSVhsv(255, 54%, 63%)
CMYKcmyk(40%, 53.7%, 0%, 37.3%)
CIE-LABlab(37.70, 30.15, -43.69)
CIE-LCHlch(37.70, 53.08, 304.61°)
OKLaboklab(47.54% 0.0509 -0.1239)
OKLCHoklch(47.54% 0.134 292.3)
XYZxyz(13.6161, 9.9221, 34.4486)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AA0 #8AA04A
analogous
#4A5FA0 #604AA0 #8B4AA0
triadic
#604AA0 #A0604A #4AA060
tetradic
#604AA0 #A04A5F #8AA04A #4AA08B
square
#604AA0 #A04A5F #8AA04A #4AA08B
split-complementary
#604AA0 #A08B4A #5FA04A
monochromatic
#2E234C #473776 #604AA0 #806CBB #A496CE

Accessibility & contrast

On white

7.04
#604AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#604AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604AA0
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AA0#FFFFFF#000000##FFFFFF
##604AA01.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245AA3
Deuteranopia (green-blind)
#29579E
Tritanopia (blue-blind)
#4F5C6E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #604aa0;
/* rgb */ color: rgb(96, 74, 160);
/* oklch */ color: oklch(47.5% 0.134 292.3);
Tailwind
colors: {
  custom: {
    50: '#917dbd',
    500: '#604aa0',
    950: '#000000',
  },
}
SCSS
$custom: #604aa0;
$custom-light: #917dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#604aa0",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 160
  },
  "hsl": {
    "h": 255.349,
    "s": 36.752,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47537,
    "c": 0.13398,
    "h": 292.3
  },
  "luminance": 0.09922
}

Semantic roles & 50–950 ramp

primary
#604AA0
secondary
#AEBB8B
accent
#CD5BB0
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #604AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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