#573173#573173

#573173 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.2% C 0.113 H 308.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#573173
RGBrgb(87, 49, 115)
HSLhsl(275, 40%, 32%)
HSVhsv(275, 57%, 45%)
CMYKcmyk(24.3%, 57.4%, 0%, 54.9%)
CIE-LABlab(28.01, 30.54, -31.48)
CIE-LCHlch(28.01, 43.86, 314.13°)
OKLaboklab(39.23% 0.0707 -0.0884)
OKLCHoklch(39.23% 0.113 308.7)
XYZxyz(8.1227, 5.4608, 16.8425)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573173 #4D7331
analogous
#363173 #573173 #73316E
triadic
#573173 #735731 #317357
tetradic
#573173 #733631 #4D7331 #316E73
square
#573173 #733631 #4D7331 #316E73
split-complementary
#573173 #6E7331 #317336
monochromatic
#160C1D #371F48 #573173 #77439E #9662BC

Accessibility & contrast

On white

10.04
#573173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#573173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573173
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573173#FFFFFF#000000##FFFFFF
##5731731.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4175
Deuteranopia (green-blind)
#294371
Tritanopia (blue-blind)
#533D4D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #573173;
/* rgb */ color: rgb(87, 49, 115);
/* oklch */ color: oklch(39.2% 0.113 308.7);
Tailwind
colors: {
  custom: {
    50: '#886b9c',
    500: '#573173',
    950: '#000000',
  },
}
SCSS
$custom: #573173;
$custom-light: #886b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#573173",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 274.545,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39225,
    "c": 0.11322,
    "h": 308.7
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#573173
secondary
#7AA45C
accent
#D0588B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #573173

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

Preview Lab → · Contrast checker → · Palette generator →

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