#573EA8#573EA8

#573EA8 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.2% C 0.162 H 289.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#573EA8
RGBrgb(87, 62, 168)
HSLhsl(254, 46%, 45%)
HSVhsv(254, 63%, 66%)
CMYKcmyk(48.2%, 63.1%, 0%, 34.1%)
CIE-LABlab(34.60, 37.66, -53.54)
CIE-LCHlch(34.60, 65.46, 305.12°)
OKLaboklab(45.22% 0.0531 -0.1532)
OKLCHoklch(45.22% 0.162 289.1)
XYZxyz(12.7190, 8.2981, 37.9697)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573EA8 #8FA83E
analogous
#3E5AA8 #573EA8 #8C3EA8
triadic
#573EA8 #A8573E #3EA857
tetradic
#573EA8 #A83E5A #8FA83E #3EA88C
square
#573EA8 #A83E5A #8FA83E #3EA88C
split-complementary
#573EA8 #A88C3E #5AA83E
monochromatic
#291D4F #402E7B #573EA8 #775FC4 #9D8CD5

Accessibility & contrast

On white

7.90
#573EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#573EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573EA8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573EA8#FFFFFF#000000##FFFFFF
##573EA81.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#3D576D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #573ea8;
/* rgb */ color: rgb(87, 62, 168);
/* oklch */ color: oklch(45.2% 0.162 289.1);
Tailwind
colors: {
  custom: {
    50: '#8d74c3',
    500: '#573ea8',
    950: '#000000',
  },
}
SCSS
$custom: #573ea8;
$custom-light: #8d74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#573ea8",
  "rgb": {
    "r": 87,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 254.151,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45217,
    "c": 0.16212,
    "h": 289.1
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#573EA8
secondary
#B1BF83
accent
#D652B7
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #573EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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