#604ABB#604ABB

#604ABB is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.5% C 0.170 H 287.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#604ABB
RGBrgb(96, 74, 187)
HSLhsl(252, 45%, 51%)
HSVhsv(252, 60%, 73%)
CMYKcmyk(48.7%, 60.4%, 0%, 26.7%)
CIE-LABlab(39.53, 38.09, -56.75)
CIE-LCHlch(39.53, 68.35, 303.87°)
OKLaboklab(49.47% 0.051 -0.1623)
OKLCHoklch(49.47% 0.17 287.4)
XYZxyz(16.2397, 10.9715, 48.2661)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604ABB #A5BB4A
analogous
#4A6CBB #604ABB #984ABB
triadic
#604ABB #BB604A #4ABB60
tetradic
#604ABB #BB4A6C #A5BB4A #4ABB98
square
#604ABB #BB4A6C #A5BB4A #4ABB98
split-complementary
#604ABB #BB984A #6CBB4A
monochromatic
#322665 #483791 #604ABB #8776CC #AEA3DC

Accessibility & contrast

On white

6.57
#604ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604ABB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604ABB#FFFFFF#000000##FFFFFF
##604ABB1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#41647B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #604abb;
/* rgb */ color: rgb(96, 74, 187);
/* oklch */ color: oklch(49.5% 0.170 287.4);
Tailwind
colors: {
  custom: {
    50: '#947dd0',
    500: '#604abb',
    950: '#000000',
  },
}
SCSS
$custom: #604abb;
$custom-light: #947dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#604abb",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 251.681,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49471,
    "c": 0.17014,
    "h": 287.4
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#604ABB
secondary
#C0C997
accent
#D553BC
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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