#573EA5#573EA5

#573EA5 is a dark, vivid violet. Relative luminance 0.082; OKLCH L 45.0% C 0.158 H 289.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#573EA5
RGBrgb(87, 62, 165)
HSLhsl(255, 45%, 45%)
HSVhsv(255, 62%, 65%)
CMYKcmyk(47.3%, 62.4%, 0%, 35.3%)
CIE-LABlab(34.37, 36.77, -52.11)
CIE-LCHlch(34.37, 63.77, 305.21°)
OKLaboklab(44.98% 0.0533 -0.149)
OKLCHoklch(44.98% 0.158 289.7)
XYZxyz(12.4427, 8.1876, 36.5148)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573EA5 #8CA53E
analogous
#3E59A5 #573EA5 #8B3EA5
triadic
#573EA5 #A5573E #3EA557
tetradic
#573EA5 #A53E59 #8CA53E #3EA58B
square
#573EA5 #A53E59 #8CA53E #3EA58B
split-complementary
#573EA5 #A58B3E #59A53E
monochromatic
#281D4C #402D79 #573EA5 #765EC2 #9C8AD3

Accessibility & contrast

On white

7.96
#573EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#573EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573EA5
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573EA5#FFFFFF#000000##FFFFFF
##573EA51.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#3E566B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #573ea5;
/* rgb */ color: rgb(87, 62, 165);
/* oklch */ color: oklch(45.0% 0.158 289.7);
Tailwind
colors: {
  custom: {
    50: '#8d74c0',
    500: '#573ea5',
    950: '#000000',
  },
}
SCSS
$custom: #573ea5;
$custom-light: #8d74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#573ea5",
  "rgb": {
    "r": 87,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 254.563,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44982,
    "c": 0.15822,
    "h": 289.7
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#573EA5
secondary
#AFBE81
accent
#D553B5
background
#F9F7FB
surface
#F1EDF7
border
#CBC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #573EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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