#571B6D#571B6D

#571B6D is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.140 H 315.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#571B6D
RGBrgb(87, 27, 109)
HSLhsl(284, 60%, 27%)
HSVhsv(284, 75%, 43%)
CMYKcmyk(20.2%, 75.2%, 0%, 57.3%)
CIE-LABlab(23.39, 40.63, -35.03)
CIE-LCHlch(23.39, 53.65, 319.23°)
OKLaboklab(35.75% 0.0997 -0.0987)
OKLCHoklch(35.75% 0.14 315.3)
XYZxyz(7.0823, 3.9145, 14.8475)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B6D #316D1B
analogous
#2E1B6D #571B6D #6D1B5A
triadic
#571B6D #6D571B #1B6D57
tetradic
#571B6D #6D2E1B #316D1B #1B5A6D
square
#571B6D #6D2E1B #316D1B #1B5A6D
split-complementary
#571B6D #5A6D1B #1B6D2E
monochromatic
#140619 #300F3C #571B6D #7E279E #A435CD

Accessibility & contrast

On white

11.78
#571B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#571B6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B6D
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B6D#FFFFFF#000000##FFFFFF
##571B6D1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#19396B
Tritanopia (blue-blind)
#552C42
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571b6d;
/* rgb */ color: rgb(87, 27, 109);
/* oklch */ color: oklch(35.7% 0.140 315.3);
Tailwind
colors: {
  custom: {
    50: '#895e97',
    500: '#571b6d',
    950: '#000000',
  },
}
SCSS
$custom: #571b6d;
$custom-light: #895e97;
$custom-dark: #000000;
JSON
{
  "hex": "#571b6d",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 109
  },
  "hsl": {
    "h": 283.902,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35748,
    "c": 0.1403,
    "h": 315.3
  },
  "luminance": 0.03914
}

Semantic roles & 50–950 ramp

primary
#571B6D
secondary
#5CA242
accent
#E3446F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #571B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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