#573EA6#573EA6

#573EA6 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.1% C 0.160 H 289.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#573EA6
RGBrgb(87, 62, 166)
HSLhsl(254, 46%, 45%)
HSVhsv(254, 63%, 65%)
CMYKcmyk(47.6%, 62.7%, 0%, 34.9%)
CIE-LABlab(34.45, 37.06, -52.59)
CIE-LCHlch(34.45, 64.33, 305.18°)
OKLaboklab(45.06% 0.0532 -0.1504)
OKLCHoklch(45.06% 0.16 289.5)
XYZxyz(12.5341, 8.2242, 36.9960)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573EA6 #8DA63E
analogous
#3E59A6 #573EA6 #8B3EA6
triadic
#573EA6 #A6573E #3EA657
tetradic
#573EA6 #A63E59 #8DA63E #3EA68B
square
#573EA6 #A63E59 #8DA63E #3EA68B
split-complementary
#573EA6 #A68B3E #59A63E
monochromatic
#281D4D #402D79 #573EA6 #765EC3 #9C8BD4

Accessibility & contrast

On white

7.94
#573EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #573EA6
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573EA6#FFFFFF#000000##FFFFFF
##573EA61.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#3E566C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #573ea6;
/* rgb */ color: rgb(87, 62, 166);
/* oklch */ color: oklch(45.1% 0.160 289.5);
Tailwind
colors: {
  custom: {
    50: '#8d74c1',
    500: '#573ea6',
    950: '#000000',
  },
}
SCSS
$custom: #573ea6;
$custom-light: #8d74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#573ea6",
  "rgb": {
    "r": 87,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 254.423,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4506,
    "c": 0.15952,
    "h": 289.5
  },
  "luminance": 0.08225
}

Semantic roles & 50–950 ramp

primary
#573EA6
secondary
#B0BE82
accent
#D553B6
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #573EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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