#604EA1#604EA1

#604EA1 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.3% C 0.129 H 290.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#604EA1
RGBrgb(96, 78, 161)
HSLhsl(253, 35%, 47%)
HSVhsv(253, 52%, 63%)
CMYKcmyk(40.4%, 51.6%, 0%, 36.9%)
CIE-LABlab(38.74, 27.98, -42.63)
CIE-LCHlch(38.74, 50.99, 303.28°)
OKLaboklab(48.33% 0.0457 -0.1208)
OKLCHoklch(48.33% 0.129 290.7)
XYZxyz(13.9795, 10.5084, 35.0031)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EA1 #8FA14E
analogous
#4E66A1 #604EA1 #8A4EA1
triadic
#604EA1 #A1604E #4EA160
tetradic
#604EA1 #A14E66 #8FA14E #4EA18A
square
#604EA1 #A14E66 #8FA14E #4EA18A
split-complementary
#604EA1 #A18A4E #66A14E
monochromatic
#2F264F #473A78 #604EA1 #8172BB #A69BCF

Accessibility & contrast

On white

6.77
#604EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#604EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EA1
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EA1#FFFFFF#000000##FFFFFF
##604EA11.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA4
Deuteranopia (green-blind)
#2E599F
Tritanopia (blue-blind)
#4F5F70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #604ea1;
/* rgb */ color: rgb(96, 78, 161);
/* oklch */ color: oklch(48.3% 0.129 290.7);
Tailwind
colors: {
  custom: {
    50: '#9180bd',
    500: '#604ea1',
    950: '#000000',
  },
}
SCSS
$custom: #604ea1;
$custom-light: #9180bd;
$custom-dark: #000000;
JSON
{
  "hex": "#604ea1",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 253.012,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4833,
    "c": 0.12917,
    "h": 290.7
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#604EA1
secondary
#B2BB90
accent
#CB5DB3
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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