#573170#573170

#573170 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 39.0% C 0.109 H 310.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#573170
RGBrgb(87, 49, 112)
HSLhsl(276, 39%, 32%)
HSVhsv(276, 56%, 44%)
CMYKcmyk(22.3%, 56.3%, 0%, 56.1%)
CIE-LABlab(27.83, 29.79, -29.86)
CIE-LCHlch(27.83, 42.18, 314.93°)
OKLaboklab(39.03% 0.0705 -0.0837)
OKLCHoklch(39.03% 0.109 310.1)
XYZxyz(7.9529, 5.3929, 15.9481)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573170 #4A7031
analogous
#383170 #573170 #70316A
triadic
#573170 #705731 #317057
tetradic
#573170 #703831 #4A7031 #316A70
square
#573170 #703831 #4A7031 #316A70
split-complementary
#573170 #6A7031 #317038
monochromatic
#150C1B #361E45 #573170 #78449B #9761BA

Accessibility & contrast

On white

10.10
#573170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#573170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573170
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573170#FFFFFF#000000##FFFFFF
##5731701.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4072
Deuteranopia (green-blind)
#2B426E
Tritanopia (blue-blind)
#543C4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #573170;
/* rgb */ color: rgb(87, 49, 112);
/* oklch */ color: oklch(39.0% 0.109 310.1);
Tailwind
colors: {
  custom: {
    50: '#886b99',
    500: '#573170',
    950: '#000000',
  },
}
SCSS
$custom: #573170;
$custom-light: #886b99;
$custom-dark: #000000;
JSON
{
  "hex": "#573170",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 276.19,
    "s": 39.13,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39031,
    "c": 0.10943,
    "h": 310.1
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#573170
secondary
#77A15C
accent
#CF5988
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #573170

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

Preview Lab → · Contrast checker → · Palette generator →

#573170 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva