#604AA2#604AA2

#604AA2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.7% C 0.137 H 291.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#604AA2
RGBrgb(96, 74, 162)
HSLhsl(255, 37%, 46%)
HSVhsv(255, 54%, 64%)
CMYKcmyk(40.7%, 54.3%, 0%, 36.5%)
CIE-LABlab(37.83, 30.73, -44.69)
CIE-LCHlch(37.83, 54.23, 304.51°)
OKLaboklab(47.67% 0.051 -0.1268)
OKLCHoklch(47.67% 0.137 291.9)
XYZxyz(13.7925, 9.9926, 35.3775)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AA2 #8CA24A
analogous
#4A60A2 #604AA2 #8C4AA2
triadic
#604AA2 #A2604A #4AA260
tetradic
#604AA2 #A24A60 #8CA24A #4AA28C
square
#604AA2 #A24A60 #8CA24A #4AA28C
split-complementary
#604AA2 #A28C4A #60A24A
monochromatic
#2E244E #473778 #604AA2 #816DBC #A597CF

Accessibility & contrast

On white

7.00
#604AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#604AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AA2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AA2#FFFFFF#000000##FFFFFF
##604AA21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA5
Deuteranopia (green-blind)
#2657A0
Tritanopia (blue-blind)
#4E5C6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #604aa2;
/* rgb */ color: rgb(96, 74, 162);
/* oklch */ color: oklch(47.7% 0.137 291.9);
Tailwind
colors: {
  custom: {
    50: '#917dbe',
    500: '#604aa2',
    950: '#000000',
  },
}
SCSS
$custom: #604aa2;
$custom-light: #917dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#604aa2",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 255,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47672,
    "c": 0.13672,
    "h": 291.9
  },
  "luminance": 0.09993
}

Semantic roles & 50–950 ramp

primary
#604AA2
secondary
#B0BC8C
accent
#CD5BB1
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #604AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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