#573CAB#573CAB

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

Color values

HEX#573CAB
RGBrgb(87, 60, 171)
HSLhsl(255, 48%, 45%)
HSVhsv(255, 65%, 67%)
CMYKcmyk(49.1%, 64.9%, 0%, 32.9%)
CIE-LABlab(34.39, 39.72, -55.67)
CIE-LCHlch(34.39, 68.38, 305.51°)
OKLaboklab(45.14% 0.0549 -0.1594)
OKLCHoklch(45.14% 0.169 289)
XYZxyz(12.8949, 8.1977, 39.4231)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573CAB #90AB3C
analogous
#3C58AB #573CAB #8F3CAB
triadic
#573CAB #AB573C #3CAB57
tetradic
#573CAB #AB3C58 #90AB3C #3CAB8F
square
#573CAB #AB3C58 #90AB3C #3CAB8F
split-complementary
#573CAB #AB8F3C #58AB3C
monochromatic
#291C50 #402C7E #573CAB #775EC6 #9D8BD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##573CAB#FFFFFF#000000##FFFFFF
##573CAB1.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)
#0053AE
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#3B576E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #573cab;
/* rgb */ color: rgb(87, 60, 171);
/* oklch */ color: oklch(45.1% 0.169 289.0);
Tailwind
colors: {
  custom: {
    50: '#8e73c5',
    500: '#573cab',
    950: '#000000',
  },
}
SCSS
$custom: #573cab;
$custom-light: #8e73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#573cab",
  "rgb": {
    "r": 87,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 254.595,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45141,
    "c": 0.16864,
    "h": 289
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#573CAB
secondary
#B2C182
accent
#D850B7
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #573CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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