#571E6B#571E6B

#571E6B is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.9% C 0.134 H 316.0°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#571E6B
RGBrgb(87, 30, 107)
HSLhsl(284, 56%, 27%)
HSVhsv(284, 72%, 42%)
CMYKcmyk(18.7%, 72%, 0%, 58%)
CIE-LABlab(23.73, 38.83, -33.19)
CIE-LCHlch(23.73, 51.08, 319.47°)
OKLaboklab(35.95% 0.0965 -0.0933)
OKLCHoklch(35.95% 0.134 316)
XYZxyz(7.0482, 4.0166, 14.3111)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E6B #326B1E
analogous
#311E6B #571E6B #6B1E59
triadic
#571E6B #6B571E #1E6B57
tetradic
#571E6B #6B311E #326B1E #1E596B
square
#571E6B #6B311E #326B1E #1E596B
split-complementary
#571E6B #596B1E #1E6B31
monochromatic
#130718 #30113B #571E6B #7E2B9B #A43BC8

Accessibility & contrast

On white

11.65
#571E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#571E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E6B
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E6B#FFFFFF#000000##FFFFFF
##571E6B1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#1E3A69
Tritanopia (blue-blind)
#562D42
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571e6b;
/* rgb */ color: rgb(87, 30, 107);
/* oklch */ color: oklch(35.9% 0.134 316.0);
Tailwind
colors: {
  custom: {
    50: '#895f96',
    500: '#571e6b',
    950: '#000000',
  },
}
SCSS
$custom: #571e6b;
$custom-light: #895f96;
$custom-dark: #000000;
JSON
{
  "hex": "#571e6b",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 284.416,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35945,
    "c": 0.1342,
    "h": 316
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#571E6B
secondary
#5D9F45
accent
#DF4870
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #571E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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