#571A83#571A83

#571A83 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.164 H 306.1°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#571A83
RGBrgb(87, 26, 131)
HSLhsl(275, 67%, 31%)
HSVhsv(275, 80%, 51%)
CMYKcmyk(33.6%, 80.2%, 0%, 48.6%)
CIE-LABlab(24.96, 46.11, -46.51)
CIE-LCHlch(24.96, 65.49, 314.75°)
OKLaboklab(37.4% 0.0965 -0.1324)
OKLCHoklch(37.4% 0.164 306.1)
XYZxyz(8.3957, 4.4038, 21.8760)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A83 #46831A
analogous
#221A83 #571A83 #831A7A
triadic
#571A83 #83571A #1A8357
tetradic
#571A83 #83221A #46831A #1A7A83
square
#571A83 #83221A #46831A #1A7A83
split-complementary
#571A83 #7A831A #1A8322
monochromatic
#13061D #351050 #571A83 #7924B6 #983FD9

Accessibility & contrast

On white

11.17
#571A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#571A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A83
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A83#FFFFFF#000000##FFFFFF
##571A831.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#4F354E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571a83;
/* rgb */ color: rgb(87, 26, 131);
/* oklch */ color: oklch(37.4% 0.164 306.1);
Tailwind
colors: {
  custom: {
    50: '#8b5ea8',
    500: '#571a83',
    950: '#000000',
  },
}
SCSS
$custom: #571a83;
$custom-light: #8b5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#571a83",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 274.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37404,
    "c": 0.16384,
    "h": 306.1
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#571A83
secondary
#73B742
accent
#EA3E86
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571A83

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

Preview Lab → · Contrast checker → · Palette generator →

#571A83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva