#573A7B#573A7B

#573A7B is a dark, moderate violet. Relative luminance 0.065; OKLCH L 41.3% C 0.108 H 302.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#573A7B
RGBrgb(87, 58, 123)
HSLhsl(267, 36%, 35%)
HSVhsv(267, 53%, 48%)
CMYKcmyk(29.3%, 52.8%, 0%, 51.8%)
CIE-LABlab(30.60, 27.19, -32.41)
CIE-LCHlch(30.60, 42.31, 309.99°)
OKLaboklab(41.3% 0.0581 -0.0912)
OKLCHoklch(41.3% 0.108 302.5)
XYZxyz(9.0179, 6.4824, 19.5112)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573A7B #5E7B3A
analogous
#3A3D7B #573A7B #773A7B
triadic
#573A7B #7B573A #3A7B57
tetradic
#573A7B #7B3A3D #5E7B3A #3A7B77
square
#573A7B #7B3A3D #5E7B3A #3A7B77
split-complementary
#573A7B #7B773A #3D7B3A
monochromatic
#1C1328 #3A2651 #573A7B #744EA5 #9473BD

Accessibility & contrast

On white

9.14
#573A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#573A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573A7B
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573A7B#FFFFFF#000000##FFFFFF
##573A7B1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477D
Deuteranopia (green-blind)
#2D4879
Tritanopia (blue-blind)
#504655
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #573a7b;
/* rgb */ color: rgb(87, 58, 123);
/* oklch */ color: oklch(41.3% 0.108 302.5);
Tailwind
colors: {
  custom: {
    50: '#8871a1',
    500: '#573a7b',
    950: '#000000',
  },
}
SCSS
$custom: #573a7b;
$custom-light: #8871a1;
$custom-dark: #000000;
JSON
{
  "hex": "#573a7b",
  "rgb": {
    "r": 87,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 266.769,
    "s": 35.912,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41297,
    "c": 0.10812,
    "h": 302.5
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#573A7B
secondary
#8CA66B
accent
#CC5C9A
background
#F8F6FA
surface
#F0ECF3
border
#CBC7CD
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #573A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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