#571F5A#571F5A

#571F5A is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.9% C 0.115 H 325.6°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#571F5A
RGBrgb(87, 31, 90)
HSLhsl(297, 49%, 24%)
HSVhsv(297, 66%, 35%)
CMYKcmyk(3.3%, 65.6%, 0%, 64.7%)
CIE-LABlab(22.81, 34.70, -23.51)
CIE-LCHlch(22.81, 41.92, 325.88°)
OKLaboklab(34.93% 0.0952 -0.0651)
OKLCHoklch(34.93% 0.115 325.6)
XYZxyz(6.2658, 3.7448, 10.0637)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F5A #225A1F
analogous
#391F5A #571F5A #5A1F3F
triadic
#571F5A #5A571F #1F5A57
tetradic
#571F5A #5A391F #225A1F #1F3F5A
square
#571F5A #5A391F #225A1F #1F3F5A
split-complementary
#571F5A #3F5A1F #1F5A39
monochromatic
#160817 #2B0F2C #571F5A #832F88 #AF3EB5

Accessibility & contrast

On white

12.01
#571F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#571F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F5A
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F5A#FFFFFF#000000##FFFFFF
##571F5A1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325C
Deuteranopia (green-blind)
#2A3958
Tritanopia (blue-blind)
#592739
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571f5a;
/* rgb */ color: rgb(87, 31, 90);
/* oklch */ color: oklch(34.9% 0.115 325.6);
Tailwind
colors: {
  custom: {
    50: '#885f89',
    500: '#571f5a',
    950: '#000000',
  },
}
SCSS
$custom: #571f5a;
$custom-light: #885f89;
$custom-dark: #000000;
JSON
{
  "hex": "#571f5a",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 296.949,
    "s": 48.76,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34932,
    "c": 0.11532,
    "h": 325.6
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#571F5A
secondary
#4A8F46
accent
#D84F56
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #571F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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