#571F53#571F53

#571F53 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.5% C 0.109 H 330.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#571F53
RGBrgb(87, 31, 83)
HSLhsl(304, 47%, 23%)
HSVhsv(304, 64%, 34%)
CMYKcmyk(0%, 64.4%, 4.6%, 65.9%)
CIE-LABlab(22.41, 33.31, -19.48)
CIE-LCHlch(22.41, 38.59, 329.69°)
OKLaboklab(34.51% 0.0945 -0.0534)
OKLCHoklch(34.51% 0.109 330.5)
XYZxyz(5.9818, 3.6312, 8.5678)
Luminance0.0363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F53 #1F5723
analogous
#3F1F57 #571F53 #571F37
triadic
#571F53 #53571F #1F5357
tetradic
#571F53 #573F1F #1F5723 #1F3757
square
#571F53 #573F1F #1F5723 #1F3757
split-complementary
#571F53 #37571F #1F573F
monochromatic
#170816 #2A0F28 #571F53 #842F7E #B13FA9

Accessibility & contrast

On white

12.17
#571F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571F53
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F53#FFFFFF#000000##FFFFFF
##571F531.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3155
Deuteranopia (green-blind)
#2E3851
Tritanopia (blue-blind)
#5A2435
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571f53;
/* rgb */ color: rgb(87, 31, 83);
/* oklch */ color: oklch(34.5% 0.109 330.5);
Tailwind
colors: {
  custom: {
    50: '#885f83',
    500: '#571f53',
    950: '#000000',
  },
}
SCSS
$custom: #571f53;
$custom-light: #885f83;
$custom-dark: #000000;
JSON
{
  "hex": "#571f53",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 304.286,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34514,
    "c": 0.10854,
    "h": 330.5
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#571F53
secondary
#468C4B
accent
#D75A51
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #571F53

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

Preview Lab → · Contrast checker → · Palette generator →

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