#571B4F#571B4F

#571B4F is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.8% C 0.111 H 333.4°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#571B4F
RGBrgb(87, 27, 79)
HSLhsl(308, 53%, 22%)
HSVhsv(308, 69%, 34%)
CMYKcmyk(0%, 69%, 9.2%, 65.9%)
CIE-LABlab(21.49, 34.51, -18.23)
CIE-LCHlch(21.49, 39.03, 332.15°)
OKLaboklab(33.77% 0.0996 -0.0498)
OKLCHoklch(33.77% 0.111 333.4)
XYZxyz(5.7337, 3.3751, 7.7451)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B4F #1B5723
analogous
#411B57 #571B4F #571B31
triadic
#571B4F #4F571B #1B4F57
tetradic
#571B4F #57411B #1B5723 #1B3157
square
#571B4F #57411B #1B5723 #1B3157
split-complementary
#571B4F #31571B #1B5741
monochromatic
#170715 #280D25 #571B4F #862979 #B438A4

Accessibility & contrast

On white

12.54
#571B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#571B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B4F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B4F#FFFFFF#000000##FFFFFF
##571B4F1.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E51
Deuteranopia (green-blind)
#2D374D
Tritanopia (blue-blind)
#5B2032
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571b4f;
/* rgb */ color: rgb(87, 27, 79);
/* oklch */ color: oklch(33.8% 0.111 333.4);
Tailwind
colors: {
  custom: {
    50: '#895c80',
    500: '#571b4f',
    950: '#000000',
  },
}
SCSS
$custom: #571b4f;
$custom-light: #895c80;
$custom-dark: #000000;
JSON
{
  "hex": "#571b4f",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 308,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33769,
    "c": 0.11135,
    "h": 333.4
  },
  "luminance": 0.03375
}

Semantic roles & 50–950 ramp

primary
#571B4F
secondary
#418D4B
accent
#DC5F4C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #571B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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