#571F55#571F55

#571F55 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.6% C 0.110 H 329.1°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#571F55
RGBrgb(87, 31, 85)
HSLhsl(302, 47%, 23%)
HSVhsv(302, 64%, 34%)
CMYKcmyk(0%, 64.4%, 2.3%, 65.9%)
CIE-LABlab(22.52, 33.70, -20.64)
CIE-LCHlch(22.52, 39.52, 328.52°)
OKLaboklab(34.63% 0.0947 -0.0568)
OKLCHoklch(34.63% 0.11 329.1)
XYZxyz(6.0601, 3.6625, 8.9803)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F55 #1F5721
analogous
#3D1F57 #571F55 #571F39
triadic
#571F55 #55571F #1F5557
tetradic
#571F55 #573D1F #1F5721 #1F3957
square
#571F55 #573D1F #1F5721 #1F3957
split-complementary
#571F55 #39571F #1F573D
monochromatic
#170816 #2A0F29 #571F55 #842F81 #B13FAD

Accessibility & contrast

On white

12.12
#571F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#571F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F55
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F55#FFFFFF#000000##FFFFFF
##571F551.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3157
Deuteranopia (green-blind)
#2D3853
Tritanopia (blue-blind)
#5A2536
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571f55;
/* rgb */ color: rgb(87, 31, 85);
/* oklch */ color: oklch(34.6% 0.110 329.1);
Tailwind
colors: {
  custom: {
    50: '#885f85',
    500: '#571f55',
    950: '#000000',
  },
}
SCSS
$custom: #571f55;
$custom-light: #885f85;
$custom-dark: #000000;
JSON
{
  "hex": "#571f55",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 302.143,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3463,
    "c": 0.11044,
    "h": 329.1
  },
  "luminance": 0.03662
}

Semantic roles & 50–950 ramp

primary
#571F55
secondary
#468C49
accent
#D75651
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #571F55

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

Preview Lab → · Contrast checker → · Palette generator →

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