#571D7D#571D7D

#571D7D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.154 H 308.0°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#571D7D
RGBrgb(87, 29, 125)
HSLhsl(276, 62%, 30%)
HSVhsv(276, 77%, 49%)
CMYKcmyk(30.4%, 76.8%, 0%, 51%)
CIE-LABlab(24.91, 43.44, -42.82)
CIE-LCHlch(24.91, 60.99, 315.41°)
OKLaboklab(37.21% 0.0951 -0.1215)
OKLCHoklch(37.21% 0.154 308)
XYZxyz(8.0707, 4.3858, 19.8194)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D7D #437D1D
analogous
#271D7D #571D7D #7D1D73
triadic
#571D7D #7D571D #1D7D57
tetradic
#571D7D #7D271D #437D1D #1D737D
square
#571D7D #7D271D #437D1D #1D737D
split-complementary
#571D7D #737D1D #1D7D27
monochromatic
#12061A #34114B #571D7D #7A29AF #9941D3

Accessibility & contrast

On white

11.19
#571D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571D7D
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D7D#FFFFFF#000000##FFFFFF
##571D7D1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#51344B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571d7d;
/* rgb */ color: rgb(87, 29, 125);
/* oklch */ color: oklch(37.2% 0.154 308.0);
Tailwind
colors: {
  custom: {
    50: '#8b5fa3',
    500: '#571d7d',
    950: '#000000',
  },
}
SCSS
$custom: #571d7d;
$custom-light: #8b5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#571d7d",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 276.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37211,
    "c": 0.15431,
    "h": 308
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

primary
#571D7D
secondary
#70B145
accent
#E54283
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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