#571B6A#571B6A

#571B6A is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.5% C 0.137 H 316.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#571B6A
RGBrgb(87, 27, 106)
HSLhsl(286, 59%, 26%)
HSVhsv(286, 75%, 42%)
CMYKcmyk(17.9%, 74.5%, 0%, 58.4%)
CIE-LABlab(23.17, 39.97, -33.43)
CIE-LCHlch(23.17, 52.11, 320.09°)
OKLaboklab(35.53% 0.1 -0.094)
OKLCHoklch(35.53% 0.137 316.8)
XYZxyz(6.9235, 3.8510, 14.0115)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B6A #2E6A1B
analogous
#2F1B6A #571B6A #6A1B55
triadic
#571B6A #6A571B #1B6A57
tetradic
#571B6A #6A2F1B #2E6A1B #1B556A
square
#571B6A #6A2F1B #2E6A1B #1B556A
split-complementary
#571B6A #556A1B #1B6A2F
monochromatic
#140618 #2F0F39 #571B6A #7F279B #A734CB

Accessibility & contrast

On white

11.86
#571B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#571B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B6A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B6A#FFFFFF#000000##FFFFFF
##571B6A1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#1C3968
Tritanopia (blue-blind)
#562B40
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571b6a;
/* rgb */ color: rgb(87, 27, 106);
/* oklch */ color: oklch(35.5% 0.137 316.8);
Tailwind
colors: {
  custom: {
    50: '#895d95',
    500: '#571b6a',
    950: '#000000',
  },
}
SCSS
$custom: #571b6a;
$custom-light: #895d95;
$custom-dark: #000000;
JSON
{
  "hex": "#571b6a",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 106
  },
  "hsl": {
    "h": 285.57,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35527,
    "c": 0.13726,
    "h": 316.8
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#571B6A
secondary
#589F42
accent
#E3456B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #571B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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