#573C8B#573C8B

#573C8B is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.7% C 0.127 H 296.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#573C8B
RGBrgb(87, 60, 139)
HSLhsl(261, 40%, 39%)
HSVhsv(261, 57%, 55%)
CMYKcmyk(37.4%, 56.8%, 0%, 45.5%)
CIE-LABlab(32.08, 30.39, -39.99)
CIE-LCHlch(32.08, 50.23, 307.24°)
OKLaboklab(42.72% 0.0563 -0.1133)
OKLCHoklch(42.72% 0.127 296.4)
XYZxyz(10.2054, 7.1219, 25.2581)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573C8B #708B3C
analogous
#3C498B #573C8B #7F3C8B
triadic
#573C8B #8B573C #3C8B57
tetradic
#573C8B #8B3C49 #708B3C #3C8B7F
square
#573C8B #8B3C49 #708B3C #3C8B7F
split-complementary
#573C8B #8B7F3C #498B3C
monochromatic
#211736 #3C2A60 #573C8B #7251B4 #957BC6

Accessibility & contrast

On white

8.66
#573C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#573C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573C8B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573C8B#FFFFFF#000000##FFFFFF
##573C8B1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8E
Deuteranopia (green-blind)
#214A89
Tritanopia (blue-blind)
#4B4C5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #573c8b;
/* rgb */ color: rgb(87, 60, 139);
/* oklch */ color: oklch(42.7% 0.127 296.4);
Tailwind
colors: {
  custom: {
    50: '#8a73ad',
    500: '#573c8b',
    950: '#000000',
  },
}
SCSS
$custom: #573c8b;
$custom-light: #8a73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#573c8b",
  "rgb": {
    "r": 87,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 260.506,
    "s": 39.698,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42721,
    "c": 0.12657,
    "h": 296.4
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#573C8B
secondary
#9BB073
accent
#D058A7
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #573C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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