#573A8A#573A8A

#573A8A is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.3% C 0.128 H 297.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#573A8A
RGBrgb(87, 58, 138)
HSLhsl(262, 41%, 38%)
HSVhsv(262, 58%, 54%)
CMYKcmyk(37%, 58%, 0%, 45.9%)
CIE-LABlab(31.55, 31.33, -40.23)
CIE-LCHlch(31.55, 50.99, 307.91°)
OKLaboklab(42.31% 0.059 -0.114)
OKLCHoklch(42.31% 0.128 297.3)
XYZxyz(10.0298, 6.8872, 24.8408)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573A8A #6D8A3A
analogous
#3A458A #573A8A #7F3A8A
triadic
#573A8A #8A573A #3A8A57
tetradic
#573A8A #8A3A45 #6D8A3A #3A8A7F
square
#573A8A #8A3A45 #6D8A3A #3A8A7F
split-complementary
#573A8A #8A7F3A #458A3A
monochromatic
#211634 #3C285F #573A8A #724DB4 #9478C6

Accessibility & contrast

On white

8.83
#573A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#573A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573A8A
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573A8A#FFFFFF#000000##FFFFFF
##573A8A1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144A8D
Deuteranopia (green-blind)
#1F4988
Tritanopia (blue-blind)
#4B4B5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #573a8a;
/* rgb */ color: rgb(87, 58, 138);
/* oklch */ color: oklch(42.3% 0.128 297.3);
Tailwind
colors: {
  custom: {
    50: '#8a71ad',
    500: '#573a8a',
    950: '#000000',
  },
}
SCSS
$custom: #573a8a;
$custom-light: #8a71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#573a8a",
  "rgb": {
    "r": 87,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 261.75,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42307,
    "c": 0.12839,
    "h": 297.3
  },
  "luminance": 0.06887
}

Semantic roles & 50–950 ramp

primary
#573A8A
secondary
#99B070
accent
#D157A5
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #573A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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