#604EA6#604EA6

#604EA6 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.7% C 0.136 H 289.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#604EA6
RGBrgb(96, 78, 166)
HSLhsl(252, 36%, 48%)
HSVhsv(252, 53%, 65%)
CMYKcmyk(42.2%, 53%, 0%, 34.9%)
CIE-LABlab(39.05, 29.44, -45.12)
CIE-LCHlch(39.05, 53.87, 303.13°)
OKLaboklab(48.66% 0.0461 -0.1281)
OKLCHoklch(48.66% 0.136 289.8)
XYZxyz(14.4293, 10.6883, 37.3718)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EA6 #94A64E
analogous
#4E68A6 #604EA6 #8C4EA6
triadic
#604EA6 #A6604E #4EA660
tetradic
#604EA6 #A64E68 #94A64E #4EA68C
square
#604EA6 #A64E68 #94A64E #4EA68C
split-complementary
#604EA6 #A68C4E #68A64E
monochromatic
#302753 #483A7C #604EA6 #8374BE #A89DD1

Accessibility & contrast

On white

6.69
#604EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#604EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EA6
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EA6#FFFFFF#000000##FFFFFF
##604EA61.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275EA9
Deuteranopia (green-blind)
#285AA4
Tritanopia (blue-blind)
#4C6072
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604ea6;
/* rgb */ color: rgb(96, 78, 166);
/* oklch */ color: oklch(48.7% 0.136 289.8);
Tailwind
colors: {
  custom: {
    50: '#9180c1',
    500: '#604ea6',
    950: '#000000',
  },
}
SCSS
$custom: #604ea6;
$custom-light: #9180c1;
$custom-dark: #000000;
JSON
{
  "hex": "#604ea6",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 252.273,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48662,
    "c": 0.13614,
    "h": 289.8
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #604EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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