#571F4E#571F4E

#571F4E is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.2% C 0.104 H 334.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#571F4E
RGBrgb(87, 31, 78)
HSLhsl(310, 47%, 23%)
HSVhsv(310, 64%, 34%)
CMYKcmyk(0%, 64.4%, 10.3%, 65.9%)
CIE-LABlab(22.15, 32.37, -16.53)
CIE-LCHlch(22.15, 36.34, 332.95°)
OKLaboklab(34.23% 0.0937 -0.045)
OKLCHoklch(34.23% 0.104 334.3)
XYZxyz(5.7956, 3.5567, 7.5875)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F4E #1F5728
analogous
#441F57 #571F4E #571F32
triadic
#571F4E #4E571F #1F4E57
tetradic
#571F4E #57441F #1F5728 #1F3257
square
#571F4E #57441F #1F5728 #1F3257
split-complementary
#571F4E #32571F #1F5744
monochromatic
#170814 #2A0F26 #571F4E #842F76 #B13F9F

Accessibility & contrast

On white

12.27
#571F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571F4E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F4E#FFFFFF#000000##FFFFFF
##571F4E1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E304F
Deuteranopia (green-blind)
#30384D
Tritanopia (blue-blind)
#5B2333
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571f4e;
/* rgb */ color: rgb(87, 31, 78);
/* oklch */ color: oklch(34.2% 0.104 334.3);
Tailwind
colors: {
  custom: {
    50: '#885f7f',
    500: '#571f4e',
    950: '#000000',
  },
}
SCSS
$custom: #571f4e;
$custom-light: #885f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#571f4e",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 309.643,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34234,
    "c": 0.10394,
    "h": 334.3
  },
  "luminance": 0.03556
}

Semantic roles & 50–950 ramp

primary
#571F4E
secondary
#468C51
accent
#D76651
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #571F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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