#571B53#571B53

#571B53 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 34.0% C 0.115 H 330.5°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#571B53
RGBrgb(87, 27, 83)
HSLhsl(304, 53%, 22%)
HSVhsv(304, 69%, 34%)
CMYKcmyk(0%, 69%, 4.6%, 65.9%)
CIE-LABlab(21.71, 35.26, -20.58)
CIE-LCHlch(21.71, 40.82, 329.73°)
OKLaboklab(34% 0.1001 -0.0566)
OKLCHoklch(34% 0.115 330.5)
XYZxyz(5.8837, 3.4351, 8.5351)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B53 #1B571F
analogous
#3D1B57 #571B53 #571B35
triadic
#571B53 #53571B #1B5357
tetradic
#571B53 #573D1B #1B571F #1B3557
square
#571B53 #573D1B #1B571F #1B3557
split-complementary
#571B53 #35571B #1B573D
monochromatic
#170716 #280D26 #571B53 #862980 #B438AC

Accessibility & contrast

On white

12.45
#571B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#571B53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B53
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B53#FFFFFF#000000##FFFFFF
##571B531.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172F55
Deuteranopia (green-blind)
#2C3751
Tritanopia (blue-blind)
#5A2134
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571b53;
/* rgb */ color: rgb(87, 27, 83);
/* oklch */ color: oklch(34.0% 0.115 330.5);
Tailwind
colors: {
  custom: {
    50: '#895d83',
    500: '#571b53',
    950: '#000000',
  },
}
SCSS
$custom: #571b53;
$custom-light: #895d83;
$custom-dark: #000000;
JSON
{
  "hex": "#571b53",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 83
  },
  "hsl": {
    "h": 304,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34001,
    "c": 0.11494,
    "h": 330.5
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#571B53
secondary
#418D46
accent
#DC554C
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #571B53

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

Preview Lab → · Contrast checker → · Palette generator →

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