#571B58#571B58

#571B58 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.3% C 0.120 H 327.1°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#571B58
RGBrgb(87, 27, 88)
HSLhsl(299, 53%, 23%)
HSVhsv(299, 69%, 35%)
CMYKcmyk(1.1%, 69.3%, 0%, 65.5%)
CIE-LABlab(22.00, 36.22, -23.47)
CIE-LCHlch(22.00, 43.16, 327.06°)
OKLaboklab(34.31% 0.1004 -0.0649)
OKLCHoklch(34.31% 0.12 327.1)
XYZxyz(6.0838, 3.5151, 9.5887)
Luminance0.0352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B58 #1C581B
analogous
#381B58 #571B58 #581B3B
triadic
#571B58 #58571B #1B5857
tetradic
#571B58 #58381B #1C581B #1B3B58
square
#571B58 #58381B #1C581B #1B3B58
split-complementary
#571B58 #3B581B #1B5838
monochromatic
#170717 #290D29 #571B58 #852987 #B438B6

Accessibility & contrast

On white

12.33
#571B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#571B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B58
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B58#FFFFFF#000000##FFFFFF
##571B581.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12305A
Deuteranopia (green-blind)
#293756
Tritanopia (blue-blind)
#5A2337
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571b58;
/* rgb */ color: rgb(87, 27, 88);
/* oklch */ color: oklch(34.3% 0.120 327.1);
Tailwind
colors: {
  custom: {
    50: '#895d87',
    500: '#571b58',
    950: '#000000',
  },
}
SCSS
$custom: #571b58;
$custom-light: #895d87;
$custom-dark: #000000;
JSON
{
  "hex": "#571b58",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 299.016,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34306,
    "c": 0.11959,
    "h": 327.1
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

primary
#571B58
secondary
#428E41
accent
#DC4B4E
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571B58

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

Preview Lab → · Contrast checker → · Palette generator →

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