#604AA6#604AA6

#604AA6 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 47.9% C 0.142 H 291.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#604AA6
RGBrgb(96, 74, 166)
HSLhsl(254, 38%, 47%)
HSVhsv(254, 55%, 65%)
CMYKcmyk(42.2%, 55.4%, 0%, 34.9%)
CIE-LABlab(38.09, 31.89, -46.66)
CIE-LCHlch(38.09, 56.52, 304.35°)
OKLaboklab(47.95% 0.0512 -0.1327)
OKLCHoklch(47.95% 0.142 291.1)
XYZxyz(14.1537, 10.1371, 37.2799)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AA6 #90A64A
analogous
#4A62A6 #604AA6 #8E4AA6
triadic
#604AA6 #A6604A #4AA660
tetradic
#604AA6 #A64A62 #90A64A #4AA68E
square
#604AA6 #A64A62 #90A64A #4AA68E
split-complementary
#604AA6 #A68E4A #62A64A
monochromatic
#2F2451 #48377C #604AA6 #826FBF #A699D1

Accessibility & contrast

On white

6.94
#604AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#604AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AA6
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AA6#FFFFFF#000000##FFFFFF
##604AA61.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5BA9
Deuteranopia (green-blind)
#2158A4
Tritanopia (blue-blind)
#4D5E71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #604aa6;
/* rgb */ color: rgb(96, 74, 166);
/* oklch */ color: oklch(47.9% 0.142 291.1);
Tailwind
colors: {
  custom: {
    50: '#927dc1',
    500: '#604aa6',
    950: '#000000',
  },
}
SCSS
$custom: #604aa6;
$custom-light: #927dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#604aa6",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 254.348,
    "s": 38.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47946,
    "c": 0.14218,
    "h": 291.1
  },
  "luminance": 0.10138
}

Semantic roles & 50–950 ramp

primary
#604AA6
secondary
#B2BE8E
accent
#CE5AB2
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #604AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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