#571C52#571C52

#571C52 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.1% C 0.112 H 331.2°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#571C52
RGBrgb(87, 28, 82)
HSLhsl(305, 51%, 23%)
HSVhsv(305, 68%, 34%)
CMYKcmyk(0%, 67.8%, 5.7%, 65.9%)
CIE-LABlab(21.82, 34.59, -19.73)
CIE-LCHlch(21.82, 39.83, 330.30°)
OKLaboklab(34.07% 0.0986 -0.0541)
OKLCHoklch(34.07% 0.112 331.2)
XYZxyz(5.8687, 3.4664, 8.3410)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C52 #1C5721
analogous
#3F1C57 #571C52 #571C34
triadic
#571C52 #52571C #1C5257
tetradic
#571C52 #573F1C #1C5721 #1C3457
square
#571C52 #573F1C #1C5721 #1C3457
split-complementary
#571C52 #34571C #1C573F
monochromatic
#170716 #290D26 #571C52 #852B7E #B43AA9

Accessibility & contrast

On white

12.40
#571C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571C52
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C52#FFFFFF#000000##FFFFFF
##571C521.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192F54
Deuteranopia (green-blind)
#2D3750
Tritanopia (blue-blind)
#5B2234
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571c52;
/* rgb */ color: rgb(87, 28, 82);
/* oklch */ color: oklch(34.1% 0.112 331.2);
Tailwind
colors: {
  custom: {
    50: '#895d83',
    500: '#571c52',
    950: '#000000',
  },
}
SCSS
$custom: #571c52;
$custom-light: #895d83;
$custom-dark: #000000;
JSON
{
  "hex": "#571c52",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 305.085,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34066,
    "c": 0.11247,
    "h": 331.2
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#571C52
secondary
#428D49
accent
#DB594D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #571C52

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

Preview Lab → · Contrast checker → · Palette generator →

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