#571F4F#571F4F

#571F4F is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.3% C 0.105 H 333.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#571F4F
RGBrgb(87, 31, 79)
HSLhsl(309, 47%, 23%)
HSVhsv(309, 64%, 34%)
CMYKcmyk(0%, 64.4%, 9.2%, 65.9%)
CIE-LABlab(22.20, 32.55, -17.12)
CIE-LCHlch(22.20, 36.78, 332.26°)
OKLaboklab(34.29% 0.0939 -0.0467)
OKLCHoklch(34.29% 0.105 333.6)
XYZxyz(5.8318, 3.5712, 7.7778)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F4F #1F5727
analogous
#431F57 #571F4F #571F33
triadic
#571F4F #4F571F #1F4F57
tetradic
#571F4F #57431F #1F5727 #1F3357
square
#571F4F #57431F #1F5727 #1F3357
split-complementary
#571F4F #33571F #1F5743
monochromatic
#170814 #2A0F26 #571F4F #842F78 #B13FA1

Accessibility & contrast

On white

12.25
#571F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#571F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F4F
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F4F#FFFFFF#000000##FFFFFF
##571F4F1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3050
Deuteranopia (green-blind)
#2F384E
Tritanopia (blue-blind)
#5B2333
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571f4f;
/* rgb */ color: rgb(87, 31, 79);
/* oklch */ color: oklch(34.3% 0.105 333.6);
Tailwind
colors: {
  custom: {
    50: '#885f80',
    500: '#571f4f',
    950: '#000000',
  },
}
SCSS
$custom: #571f4f;
$custom-light: #885f80;
$custom-dark: #000000;
JSON
{
  "hex": "#571f4f",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 308.571,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34289,
    "c": 0.10484,
    "h": 333.6
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#571F4F
secondary
#468C50
accent
#D76451
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #571F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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