#573180#573180

#573180 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.130 H 303.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#573180
RGBrgb(87, 49, 128)
HSLhsl(269, 45%, 35%)
HSVhsv(269, 62%, 50%)
CMYKcmyk(32%, 61.7%, 0%, 49.8%)
CIE-LABlab(28.85, 33.92, -38.34)
CIE-LCHlch(28.85, 51.19, 311.50°)
OKLaboklab(40.12% 0.071 -0.1085)
OKLCHoklch(40.12% 0.13 303.2)
XYZxyz(8.9242, 5.7814, 21.0637)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573180 #5A8031
analogous
#313280 #573180 #7F3180
triadic
#573180 #805731 #318057
tetradic
#573180 #803132 #5A8031 #31807F
square
#573180 #803132 #5A8031 #31807F
split-complementary
#573180 #807F31 #328031
monochromatic
#1B0F27 #392054 #573180 #7542AC #9467C5

Accessibility & contrast

On white

9.74
#573180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#573180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573180
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573180#FFFFFF#000000##FFFFFF
##5731801.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094383
Deuteranopia (green-blind)
#1D447E
Tritanopia (blue-blind)
#4F4153
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #573180;
/* rgb */ color: rgb(87, 49, 128);
/* oklch */ color: oklch(40.1% 0.130 303.2);
Tailwind
colors: {
  custom: {
    50: '#896ba5',
    500: '#573180',
    950: '#000000',
  },
}
SCSS
$custom: #573180;
$custom-light: #896ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#573180",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 128
  },
  "hsl": {
    "h": 268.861,
    "s": 44.633,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40116,
    "c": 0.12964,
    "h": 303.2
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#573180
secondary
#88AC61
accent
#D45396
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #573180

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

Preview Lab → · Contrast checker → · Palette generator →

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