#573A78#573A78

#573A78 is a dark, moderate violet. Relative luminance 0.064; OKLCH L 41.1% C 0.104 H 303.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#573A78
RGBrgb(87, 58, 120)
HSLhsl(268, 35%, 35%)
HSVhsv(268, 52%, 47%)
CMYKcmyk(27.5%, 51.7%, 0%, 52.9%)
CIE-LABlab(30.42, 26.39, -30.81)
CIE-LCHlch(30.42, 40.57, 310.58°)
OKLaboklab(41.11% 0.0578 -0.0865)
OKLCHoklch(41.11% 0.104 303.8)
XYZxyz(8.8330, 6.4084, 18.5373)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573A78 #5B783A
analogous
#3A3C78 #573A78 #763A78
triadic
#573A78 #78573A #3A7857
tetradic
#573A78 #783A3C #5B783A #3A7876
square
#573A78 #783A3C #5B783A #3A7876
split-complementary
#573A78 #78763A #3C783A
monochromatic
#1B1225 #39264F #573A78 #754EA1 #9472BB

Accessibility & contrast

On white

9.20
#573A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#573A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573A78
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573A78#FFFFFF#000000##FFFFFF
##573A781.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27477A
Deuteranopia (green-blind)
#2F4876
Tritanopia (blue-blind)
#514553
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #573a78;
/* rgb */ color: rgb(87, 58, 120);
/* oklch */ color: oklch(41.1% 0.104 303.8);
Tailwind
colors: {
  custom: {
    50: '#88719f',
    500: '#573a78',
    950: '#000000',
  },
}
SCSS
$custom: #573a78;
$custom-light: #88719f;
$custom-dark: #000000;
JSON
{
  "hex": "#573a78",
  "rgb": {
    "r": 87,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 268.065,
    "s": 34.831,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41107,
    "c": 0.10403,
    "h": 303.8
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#573A78
secondary
#89A46A
accent
#CB5D97
background
#F8F6F9
surface
#F0ECF2
border
#CBC7CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #573A78

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

Preview Lab → · Contrast checker → · Palette generator →

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