#571D85#571D85

#571D85 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.163 H 305.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#571D85
RGBrgb(87, 29, 133)
HSLhsl(273, 64%, 32%)
HSVhsv(273, 78%, 52%)
CMYKcmyk(34.6%, 78.2%, 0%, 47.8%)
CIE-LABlab(25.56, 45.36, -46.80)
CIE-LCHlch(25.56, 65.17, 314.10°)
OKLaboklab(37.87% 0.0933 -0.1332)
OKLCHoklch(37.87% 0.163 305)
XYZxyz(8.6025, 4.5985, 22.6201)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D85 #4B851D
analogous
#231D85 #571D85 #851D7F
triadic
#571D85 #85571D #1D8557
tetradic
#571D85 #85231D #4B851D #1D7F85
square
#571D85 #85231D #4B851D #1D7F85
split-complementary
#571D85 #7F851D #1D8523
monochromatic
#150721 #361253 #571D85 #7828B7 #9746D7

Accessibility & contrast

On white

10.94
#571D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#571D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D85
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D85#FFFFFF#000000##FFFFFF
##571D851.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#4E3750
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571d85;
/* rgb */ color: rgb(87, 29, 133);
/* oklch */ color: oklch(37.9% 0.163 305.0);
Tailwind
colors: {
  custom: {
    50: '#8b60a9',
    500: '#571d85',
    950: '#000000',
  },
}
SCSS
$custom: #571d85;
$custom-light: #8b60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#571d85",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 273.462,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37873,
    "c": 0.16268,
    "h": 305
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

primary
#571D85
secondary
#78B846
accent
#E7418A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571D85

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

Preview Lab → · Contrast checker → · Palette generator →

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