#573EA7#573EA7

#573EA7 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.1% C 0.161 H 289.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#573EA7
RGBrgb(87, 62, 167)
HSLhsl(254, 46%, 45%)
HSVhsv(254, 63%, 65%)
CMYKcmyk(47.9%, 62.9%, 0%, 34.5%)
CIE-LABlab(34.52, 37.36, -53.06)
CIE-LCHlch(34.52, 64.90, 305.15°)
OKLaboklab(45.14% 0.0531 -0.1518)
OKLCHoklch(45.14% 0.161 289.3)
XYZxyz(12.6262, 8.2610, 37.4810)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573EA7 #8EA73E
analogous
#3E59A7 #573EA7 #8C3EA7
triadic
#573EA7 #A7573E #3EA757
tetradic
#573EA7 #A73E59 #8EA73E #3EA78C
square
#573EA7 #A73E59 #8EA73E #3EA78C
split-complementary
#573EA7 #A78C3E #59A73E
monochromatic
#281D4E #402D7A #573EA7 #775FC3 #9D8BD4

Accessibility & contrast

On white

7.92
#573EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#573EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573EA7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573EA7#FFFFFF#000000##FFFFFF
##573EA71.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#3D576C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #573ea7;
/* rgb */ color: rgb(87, 62, 167);
/* oklch */ color: oklch(45.1% 0.161 289.3);
Tailwind
colors: {
  custom: {
    50: '#8d74c2',
    500: '#573ea7',
    950: '#000000',
  },
}
SCSS
$custom: #573ea7;
$custom-light: #8d74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#573ea7",
  "rgb": {
    "r": 87,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 254.286,
    "s": 45.852,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45139,
    "c": 0.16082,
    "h": 289.3
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#573EA7
secondary
#B0BF82
accent
#D652B6
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #573EA7

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

Preview Lab → · Contrast checker → · Palette generator →

#573EA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva