#604CA6#604CA6

#604CA6 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.3% C 0.139 H 290.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#604CA6
RGBrgb(96, 76, 166)
HSLhsl(253, 37%, 47%)
HSVhsv(253, 54%, 65%)
CMYKcmyk(42.2%, 54.2%, 0%, 34.9%)
CIE-LABlab(38.57, 30.67, -45.89)
CIE-LCHlch(38.57, 55.20, 303.75°)
OKLaboklab(48.3% 0.0486 -0.1304)
OKLCHoklch(48.3% 0.139 290.5)
XYZxyz(14.2893, 10.4084, 37.3251)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CA6 #92A64C
analogous
#4C65A6 #604CA6 #8D4CA6
triadic
#604CA6 #A6604C #4CA660
tetradic
#604CA6 #A64C65 #92A64C #4CA68D
square
#604CA6 #A64C65 #92A64C #4CA68D
split-complementary
#604CA6 #A68D4C #65A64C
monochromatic
#2F2652 #48397C #604CA6 #8271BE #A79BD1

Accessibility & contrast

On white

6.81
#604CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#604CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CA6
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CA6#FFFFFF#000000##FFFFFF
##604CA61.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225CA9
Deuteranopia (green-blind)
#2559A4
Tritanopia (blue-blind)
#4C5F71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #604ca6;
/* rgb */ color: rgb(96, 76, 166);
/* oklch */ color: oklch(48.3% 0.139 290.5);
Tailwind
colors: {
  custom: {
    50: '#917ec1',
    500: '#604ca6',
    950: '#000000',
  },
}
SCSS
$custom: #604ca6;
$custom-light: #917ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#604ca6",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 253.333,
    "s": 37.19,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48301,
    "c": 0.13917,
    "h": 290.5
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#604CA6
secondary
#B4BE90
accent
#CD5BB4
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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