#604EA5#604EA5

#604EA5 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.6% C 0.135 H 290.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#604EA5
RGBrgb(96, 78, 165)
HSLhsl(252, 36%, 48%)
HSVhsv(252, 53%, 65%)
CMYKcmyk(41.8%, 52.7%, 0%, 35.3%)
CIE-LABlab(38.99, 29.15, -44.62)
CIE-LCHlch(38.99, 53.30, 303.16°)
OKLaboklab(48.6% 0.046 -0.1267)
OKLCHoklch(48.6% 0.135 290)
XYZxyz(14.3379, 10.6517, 36.8906)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EA5 #93A54E
analogous
#4E67A5 #604EA5 #8B4EA5
triadic
#604EA5 #A5604E #4EA560
tetradic
#604EA5 #A54E67 #93A54E #4EA58B
square
#604EA5 #A54E67 #93A54E #4EA58B
split-complementary
#604EA5 #A58B4E #67A54E
monochromatic
#302752 #483A7B #604EA5 #8373BD #A89DD1

Accessibility & contrast

On white

6.71
#604EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#604EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EA5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EA5#FFFFFF#000000##FFFFFF
##604EA51.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA8
Deuteranopia (green-blind)
#2A5AA3
Tritanopia (blue-blind)
#4D6072
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604ea5;
/* rgb */ color: rgb(96, 78, 165);
/* oklch */ color: oklch(48.6% 0.135 290.0);
Tailwind
colors: {
  custom: {
    50: '#9180c0',
    500: '#604ea5',
    950: '#000000',
  },
}
SCSS
$custom: #604ea5;
$custom-light: #9180c0;
$custom-dark: #000000;
JSON
{
  "hex": "#604ea5",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 252.414,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48595,
    "c": 0.13476,
    "h": 290
  },
  "luminance": 0.10652
}

Semantic roles & 50–950 ramp

primary
#604EA5
secondary
#B4BD91
accent
#CC5CB5
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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