#571752#571752

#571752 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.5% C 0.120 H 331.2°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#571752
RGBrgb(87, 23, 82)
HSLhsl(305, 58%, 22%)
HSVhsv(305, 74%, 34%)
CMYKcmyk(0%, 73.6%, 5.7%, 65.9%)
CIE-LABlab(21.01, 36.85, -21.00)
CIE-LCHlch(21.01, 42.42, 330.32°)
OKLaboklab(33.48% 0.1051 -0.0577)
OKLCHoklch(33.48% 0.12 331.2)
XYZxyz(5.7599, 3.2487, 8.3047)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571752 #17571C
analogous
#3C1757 #571752 #571732
triadic
#571752 #525717 #175257
tetradic
#571752 #573C17 #17571C #173257
square
#571752 #573C17 #17571C #173257
split-complementary
#571752 #325717 #17573C
monochromatic
#180617 #270A24 #571752 #872480 #B831AD

Accessibility & contrast

On white

12.73
#571752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#571752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571752
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571752#FFFFFF#000000##FFFFFF
##5717521.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122D54
Deuteranopia (green-blind)
#2A3650
Tritanopia (blue-blind)
#5B1E32
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #571752;
/* rgb */ color: rgb(87, 23, 82);
/* oklch */ color: oklch(33.5% 0.120 331.2);
Tailwind
colors: {
  custom: {
    50: '#895b83',
    500: '#571752',
    950: '#000000',
  },
}
SCSS
$custom: #571752;
$custom-light: #895b83;
$custom-dark: #000000;
JSON
{
  "hex": "#571752",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 304.688,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33479,
    "c": 0.11992,
    "h": 331.2
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#571752
secondary
#3C8E42
accent
#E15346
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #571752

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

Preview Lab → · Contrast checker → · Palette generator →

#571752 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva