#573BAB#573BAB

#573BAB is a dark, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.170 H 289.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#573BAB
RGBrgb(87, 59, 171)
HSLhsl(255, 49%, 45%)
HSVhsv(255, 65%, 67%)
CMYKcmyk(49.1%, 65.5%, 0%, 32.9%)
CIE-LABlab(34.18, 40.29, -56.01)
CIE-LCHlch(34.18, 69.00, 305.73°)
OKLaboklab(44.99% 0.056 -0.1605)
OKLCHoklch(44.99% 0.17 289.2)
XYZxyz(12.8430, 8.0939, 39.4058)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573BAB #8FAB3B
analogous
#3B57AB #573BAB #8F3BAB
triadic
#573BAB #AB573B #3BAB57
tetradic
#573BAB #AB3B57 #8FAB3B #3BAB8F
square
#573BAB #AB3B57 #8FAB3B #3BAB8F
split-complementary
#573BAB #AB8F3B #57AB3B
monochromatic
#291C50 #402B7D #573BAB #775CC7 #9D8AD7

Accessibility & contrast

On white

8.02
#573BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#573BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573BAB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573BAB#FFFFFF#000000##FFFFFF
##573BAB1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#3B566E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #573bab;
/* rgb */ color: rgb(87, 59, 171);
/* oklch */ color: oklch(45.0% 0.170 289.2);
Tailwind
colors: {
  custom: {
    50: '#8e73c5',
    500: '#573bab',
    950: '#000000',
  },
}
SCSS
$custom: #573bab;
$custom-light: #8e73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#573bab",
  "rgb": {
    "r": 87,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 255,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44987,
    "c": 0.16994,
    "h": 289.2
  },
  "luminance": 0.08094
}

Semantic roles & 50–950 ramp

primary
#573BAB
secondary
#B1C181
accent
#D850B6
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #573BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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