#571B71#571B71

#571B71 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.144 H 313.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#571B71
RGBrgb(87, 27, 113)
HSLhsl(282, 61%, 27%)
HSVhsv(282, 76%, 44%)
CMYKcmyk(23%, 76.1%, 0%, 55.7%)
CIE-LABlab(23.68, 41.53, -37.14)
CIE-LCHlch(23.68, 55.71, 318.19°)
OKLaboklab(36.05% 0.0992 -0.1049)
OKLCHoklch(36.05% 0.144 313.4)
XYZxyz(7.3025, 4.0026, 16.0075)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B71 #35711B
analogous
#2C1B71 #571B71 #711B60
triadic
#571B71 #71571B #1B7157
tetradic
#571B71 #712C1B #35711B #1B6071
square
#571B71 #712C1B #35711B #1B6071
split-complementary
#571B71 #60711B #1B712C
monochromatic
#130619 #310F40 #571B71 #7D27A2 #A137CF

Accessibility & contrast

On white

11.66
#571B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571B71
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B71#FFFFFF#000000##FFFFFF
##571B711.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#143A6F
Tritanopia (blue-blind)
#542E44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571b71;
/* rgb */ color: rgb(87, 27, 113);
/* oklch */ color: oklch(36.0% 0.144 313.4);
Tailwind
colors: {
  custom: {
    50: '#8a5e9a',
    500: '#571b71',
    950: '#000000',
  },
}
SCSS
$custom: #571b71;
$custom-light: #8a5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#571b71",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 281.86,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36049,
    "c": 0.14435,
    "h": 313.4
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#571B71
secondary
#60A642
accent
#E54374
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571B71

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

Preview Lab → · Contrast checker → · Palette generator →

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