#571B70#571B70

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

Color values

HEX#571B70
RGBrgb(87, 27, 112)
HSLhsl(282, 61%, 27%)
HSVhsv(282, 76%, 44%)
CMYKcmyk(22.3%, 75.9%, 0%, 56.1%)
CIE-LABlab(23.61, 41.30, -36.62)
CIE-LCHlch(23.61, 55.20, 318.44°)
OKLaboklab(35.97% 0.0993 -0.1033)
OKLCHoklch(35.97% 0.143 313.9)
XYZxyz(7.2465, 3.9802, 15.7126)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B70 #34701B
analogous
#2D1B70 #571B70 #701B5F
triadic
#571B70 #70571B #1B7057
tetradic
#571B70 #702D1B #34701B #1B5F70
square
#571B70 #702D1B #34701B #1B5F70
split-complementary
#571B70 #5F701B #1B702D
monochromatic
#130619 #310F3F #571B70 #7D27A1 #A237CF

Accessibility & contrast

On white

11.69
#571B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571B70
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B70#FFFFFF#000000##FFFFFF
##571B701.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#153A6E
Tritanopia (blue-blind)
#552D44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571b70;
/* rgb */ color: rgb(87, 27, 112);
/* oklch */ color: oklch(36.0% 0.143 313.9);
Tailwind
colors: {
  custom: {
    50: '#8a5e9a',
    500: '#571b70',
    950: '#000000',
  },
}
SCSS
$custom: #571b70;
$custom-light: #8a5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#571b70",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 282.353,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35973,
    "c": 0.14334,
    "h": 313.9
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#571B70
secondary
#5FA542
accent
#E44473
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571B70

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

Preview Lab → · Contrast checker → · Palette generator →

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