#573B87#573B87

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

Color values

HEX#573B87
RGBrgb(87, 59, 135)
HSLhsl(262, 39%, 38%)
HSVhsv(262, 56%, 53%)
CMYKcmyk(35.6%, 56.3%, 0%, 47.1%)
CIE-LABlab(31.59, 29.88, -38.31)
CIE-LCHlch(31.59, 48.59, 307.95°)
OKLaboklab(42.27% 0.0575 -0.1084)
OKLCHoklch(42.27% 0.123 297.9)
XYZxyz(9.8665, 6.9033, 23.7296)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573B87 #6B873B
analogous
#3B4587 #573B87 #7D3B87
triadic
#573B87 #87573B #3B8757
tetradic
#573B87 #873B45 #6B873B #3B877D
square
#573B87 #873B45 #6B873B #3B877D
split-complementary
#573B87 #877D3B #45873B
monochromatic
#201632 #3C285C #573B87 #724EB2 #9478C4

Accessibility & contrast

On white

8.82
#573B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #573B87
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573B87#FFFFFF#000000##FFFFFF
##573B871.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A8A
Deuteranopia (green-blind)
#244A85
Tritanopia (blue-blind)
#4C4A5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #573b87;
/* rgb */ color: rgb(87, 59, 135);
/* oklch */ color: oklch(42.3% 0.123 297.9);
Tailwind
colors: {
  custom: {
    50: '#8972aa',
    500: '#573b87',
    950: '#000000',
  },
}
SCSS
$custom: #573b87;
$custom-light: #8972aa;
$custom-dark: #000000;
JSON
{
  "hex": "#573b87",
  "rgb": {
    "r": 87,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 262.105,
    "s": 39.175,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42271,
    "c": 0.12276,
    "h": 297.9
  },
  "luminance": 0.06903
}

Semantic roles & 50–950 ramp

primary
#573B87
secondary
#97AE70
accent
#CF59A3
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #573B87

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

Preview Lab → · Contrast checker → · Palette generator →

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