#573179#573179

#573179 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.6% C 0.121 H 306.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#573179
RGBrgb(87, 49, 121)
HSLhsl(272, 42%, 33%)
HSVhsv(272, 60%, 47%)
CMYKcmyk(28.1%, 59.5%, 0%, 52.5%)
CIE-LABlab(28.39, 32.08, -34.68)
CIE-LCHlch(28.39, 47.24, 312.77°)
OKLaboklab(39.63% 0.071 -0.0978)
OKLCHoklch(39.63% 0.121 306)
XYZxyz(8.4793, 5.6034, 18.7203)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573179 #537931
analogous
#333179 #573179 #793177
triadic
#573179 #795731 #317957
tetradic
#573179 #793331 #537931 #317779
square
#573179 #793331 #537931 #317779
split-complementary
#573179 #777931 #317933
monochromatic
#180E22 #381F4D #573179 #7643A5 #9564C0

Accessibility & contrast

On white

9.90
#573179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#573179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573179
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573179#FFFFFF#000000##FFFFFF
##5731791.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427B
Deuteranopia (green-blind)
#244377
Tritanopia (blue-blind)
#513F50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #573179;
/* rgb */ color: rgb(87, 49, 121);
/* oklch */ color: oklch(39.6% 0.121 306.0);
Tailwind
colors: {
  custom: {
    50: '#896ba0',
    500: '#573179',
    950: '#000000',
  },
}
SCSS
$custom: #573179;
$custom-light: #896ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#573179",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 121
  },
  "hsl": {
    "h": 271.667,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39627,
    "c": 0.12081,
    "h": 306
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#573179
secondary
#81A85E
accent
#D25690
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070F
muted
#7D7A7E

Preview Lab

Preview with #573179

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

Preview Lab → · Contrast checker → · Palette generator →

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