#573A7A#573A7A

#573A7A is a dark, moderate violet. Relative luminance 0.065; OKLCH L 41.2% C 0.107 H 302.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#573A7A
RGBrgb(87, 58, 122)
HSLhsl(267, 36%, 35%)
HSVhsv(267, 52%, 48%)
CMYKcmyk(28.7%, 52.5%, 0%, 52.2%)
CIE-LABlab(30.54, 26.92, -31.88)
CIE-LCHlch(30.54, 41.73, 310.18°)
OKLaboklab(41.23% 0.058 -0.0896)
OKLCHoklch(41.23% 0.107 302.9)
XYZxyz(8.9556, 6.4575, 19.1832)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573A7A #5D7A3A
analogous
#3A3D7A #573A7A #773A7A
triadic
#573A7A #7A573A #3A7A57
tetradic
#573A7A #7A3A3D #5D7A3A #3A7A77
square
#573A7A #7A3A3D #5D7A3A #3A7A77
split-complementary
#573A7A #7A773A #3D7A3A
monochromatic
#1C1327 #392651 #573A7A #754EA3 #9472BC

Accessibility & contrast

On white

9.16
#573A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#573A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573A7A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573A7A#FFFFFF#000000##FFFFFF
##573A7A1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477C
Deuteranopia (green-blind)
#2E4878
Tritanopia (blue-blind)
#514654
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #573a7a;
/* rgb */ color: rgb(87, 58, 122);
/* oklch */ color: oklch(41.2% 0.107 302.9);
Tailwind
colors: {
  custom: {
    50: '#8871a1',
    500: '#573a7a',
    950: '#000000',
  },
}
SCSS
$custom: #573a7a;
$custom-light: #8871a1;
$custom-dark: #000000;
JSON
{
  "hex": "#573a7a",
  "rgb": {
    "r": 87,
    "g": 58,
    "b": 122
  },
  "hsl": {
    "h": 267.188,
    "s": 35.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41234,
    "c": 0.10676,
    "h": 302.9
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#573A7A
secondary
#8BA66A
accent
#CC5C99
background
#F8F6F9
surface
#F0ECF2
border
#CBC7CC
text
#0C070F
muted
#7D7A7E

Preview Lab

Preview with #573A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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