#604ABA#604ABA

#604ABA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.4% C 0.169 H 287.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#604ABA
RGBrgb(96, 74, 186)
HSLhsl(252, 45%, 51%)
HSVhsv(252, 60%, 73%)
CMYKcmyk(48.4%, 60.2%, 0%, 27.1%)
CIE-LABlab(39.46, 37.79, -56.28)
CIE-LCHlch(39.46, 67.79, 303.88°)
OKLaboklab(49.4% 0.051 -0.1609)
OKLCHoklch(49.4% 0.169 287.6)
XYZxyz(16.1330, 10.9288, 47.7043)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604ABA #A4BA4A
analogous
#4A6CBA #604ABA #984ABA
triadic
#604ABA #BA604A #4ABA60
tetradic
#604ABA #BA4A6C #A4BA4A #4ABA98
square
#604ABA #BA4A6C #A4BA4A #4ABA98
split-complementary
#604ABA #BA984A #6CBA4A
monochromatic
#322664 #483790 #604ABA #8776CB #AEA3DC

Accessibility & contrast

On white

6.59
#604ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#604ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604ABA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604ABA#FFFFFF#000000##FFFFFF
##604ABA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#42647B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #604aba;
/* rgb */ color: rgb(96, 74, 186);
/* oklch */ color: oklch(49.4% 0.169 287.6);
Tailwind
colors: {
  custom: {
    50: '#947dcf',
    500: '#604aba',
    950: '#000000',
  },
}
SCSS
$custom: #604aba;
$custom-light: #947dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#604aba",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 251.786,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49395,
    "c": 0.16883,
    "h": 287.6
  },
  "luminance": 0.1093
}

Semantic roles & 50–950 ramp

primary
#604ABA
secondary
#BFC997
accent
#D553BB
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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