#573F9B#573F9B

#573F9B is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.4% C 0.144 H 291.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#573F9B
RGBrgb(87, 63, 155)
HSLhsl(256, 42%, 43%)
HSVhsv(256, 59%, 61%)
CMYKcmyk(43.9%, 59.4%, 0%, 39.2%)
CIE-LABlab(33.87, 33.21, -46.88)
CIE-LCHlch(33.87, 57.45, 305.31°)
OKLaboklab(44.39% 0.0525 -0.1336)
OKLCHoklch(44.39% 0.144 291.5)
XYZxyz(11.6228, 7.9474, 31.9256)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573F9B #839B3F
analogous
#3F559B #573F9B #853F9B
triadic
#573F9B #9B573F #3F9B57
tetradic
#573F9B #9B3F55 #839B3F #3F9B85
square
#573F9B #9B3F55 #839B3F #3F9B85
split-complementary
#573F9B #9B853F #559B3F
monochromatic
#261C44 #3F2D6F #573F9B #745BBC #9986CE

Accessibility & contrast

On white

8.11
#573F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#573F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573F9B
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573F9B#FFFFFF#000000##FFFFFF
##573F9B1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#0A4E99
Tritanopia (blue-blind)
#445367
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #573f9b;
/* rgb */ color: rgb(87, 63, 155);
/* oklch */ color: oklch(44.4% 0.144 291.5);
Tailwind
colors: {
  custom: {
    50: '#8b75b9',
    500: '#573f9b',
    950: '#000000',
  },
}
SCSS
$custom: #573f9b;
$custom-light: #8b75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#573f9b",
  "rgb": {
    "r": 87,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 255.652,
    "s": 42.202,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.14356,
    "h": 291.5
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#573F9B
secondary
#A9B87D
accent
#D256B2
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #573F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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