#571D83#571D83

#571D83 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.161 H 305.7°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#571D83
RGBrgb(87, 29, 131)
HSLhsl(274, 64%, 31%)
HSVhsv(274, 78%, 51%)
CMYKcmyk(33.6%, 77.9%, 0%, 48.6%)
CIE-LABlab(25.39, 44.88, -45.81)
CIE-LCHlch(25.39, 64.13, 314.41°)
OKLaboklab(37.71% 0.0938 -0.1303)
OKLCHoklch(37.71% 0.161 305.7)
XYZxyz(8.4657, 4.5437, 21.8994)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D83 #49831D
analogous
#241D83 #571D83 #831D7C
triadic
#571D83 #83571D #1D8357
tetradic
#571D83 #83241D #49831D #1D7C83
square
#571D83 #83241D #49831D #1D7C83
split-complementary
#571D83 #7C831D #1D8324
monochromatic
#14071F #361251 #571D83 #7828B5 #9745D6

Accessibility & contrast

On white

11.00
#571D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#571D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D83
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D83#FFFFFF#000000##FFFFFF
##571D831.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#4F364F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571d83;
/* rgb */ color: rgb(87, 29, 131);
/* oklch */ color: oklch(37.7% 0.161 305.7);
Tailwind
colors: {
  custom: {
    50: '#8b60a8',
    500: '#571d83',
    950: '#000000',
  },
}
SCSS
$custom: #571d83;
$custom-light: #8b60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#571d83",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 274.118,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37705,
    "c": 0.16059,
    "h": 305.7
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#571D83
secondary
#76B646
accent
#E74189
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571D83

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

Preview Lab → · Contrast checker → · Palette generator →

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