#604EA2#604EA2

#604EA2 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.4% C 0.131 H 290.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#604EA2
RGBrgb(96, 78, 162)
HSLhsl(253, 35%, 47%)
HSVhsv(253, 52%, 64%)
CMYKcmyk(40.7%, 51.9%, 0%, 36.5%)
CIE-LABlab(38.80, 28.27, -43.13)
CIE-LCHlch(38.80, 51.57, 303.25°)
OKLaboklab(48.4% 0.0458 -0.1223)
OKLCHoklch(48.4% 0.131 290.5)
XYZxyz(14.0681, 10.5438, 35.4694)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EA2 #90A24E
analogous
#4E66A2 #604EA2 #8A4EA2
triadic
#604EA2 #A2604E #4EA260
tetradic
#604EA2 #A24E66 #90A24E #4EA28A
square
#604EA2 #A24E66 #90A24E #4EA28A
split-complementary
#604EA2 #A28A4E #66A24E
monochromatic
#2F264F #483A79 #604EA2 #8272BB #A69BCF

Accessibility & contrast

On white

6.76
#604EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#604EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EA2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EA2#FFFFFF#000000##FFFFFF
##604EA21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#2D5AA0
Tritanopia (blue-blind)
#4E5F70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #604ea2;
/* rgb */ color: rgb(96, 78, 162);
/* oklch */ color: oklch(48.4% 0.131 290.5);
Tailwind
colors: {
  custom: {
    50: '#9180be',
    500: '#604ea2',
    950: '#000000',
  },
}
SCSS
$custom: #604ea2;
$custom-light: #9180be;
$custom-dark: #000000;
JSON
{
  "hex": "#604ea2",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 252.857,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48396,
    "c": 0.13057,
    "h": 290.5
  },
  "luminance": 0.10544
}

Semantic roles & 50–950 ramp

primary
#604EA2
secondary
#B2BC90
accent
#CB5DB3
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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