#573F87#573F87

#573F87 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 43.0% C 0.116 H 296.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#573F87
RGBrgb(87, 63, 135)
HSLhsl(260, 36%, 39%)
HSVhsv(260, 53%, 53%)
CMYKcmyk(35.6%, 53.3%, 0%, 47.1%)
CIE-LABlab(32.55, 27.41, -36.78)
CIE-LCHlch(32.55, 45.87, 306.70°)
OKLaboklab(42.98% 0.052 -0.1039)
OKLCHoklch(42.98% 0.116 296.6)
XYZxyz(10.0801, 7.3304, 23.8008)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573F87 #6F873F
analogous
#3F4B87 #573F87 #7B3F87
triadic
#573F87 #87573F #3F8757
tetradic
#573F87 #873F4B #6F873F #3F877B
square
#573F87 #873F4B #6F873F #3F877B
split-complementary
#573F87 #877B3F #4B873F
monochromatic
#211834 #3C2C5D #573F87 #7254AF #957EC3

Accessibility & contrast

On white

8.52
#573F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#573F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573F87
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573F87#FFFFFF#000000##FFFFFF
##573F871.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D89
Deuteranopia (green-blind)
#294C85
Tritanopia (blue-blind)
#4C4D5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #573f87;
/* rgb */ color: rgb(87, 63, 135);
/* oklch */ color: oklch(43.0% 0.116 296.6);
Tailwind
colors: {
  custom: {
    50: '#8975aa',
    500: '#573f87',
    950: '#000000',
  },
}
SCSS
$custom: #573f87;
$custom-light: #8975aa;
$custom-dark: #000000;
JSON
{
  "hex": "#573f87",
  "rgb": {
    "r": 87,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 260,
    "s": 36.364,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42983,
    "c": 0.11621,
    "h": 296.6
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

primary
#573F87
secondary
#9AAD75
accent
#CC5BA7
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #573F87

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

Preview Lab → · Contrast checker → · Palette generator →

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