#571F59#571F59

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

Color values

HEX#571F59
RGBrgb(87, 31, 89)
HSLhsl(298, 48%, 24%)
HSVhsv(298, 65%, 35%)
CMYKcmyk(2.2%, 65.2%, 0%, 65.1%)
CIE-LABlab(22.75, 34.50, -22.94)
CIE-LCHlch(22.75, 41.43, 326.37°)
OKLaboklab(34.87% 0.0951 -0.0634)
OKLCHoklch(34.87% 0.114 326.3)
XYZxyz(6.2235, 3.7279, 9.8410)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F59 #21591F
analogous
#3A1F59 #571F59 #591F3E
triadic
#571F59 #59571F #1F5957
tetradic
#571F59 #593A1F #21591F #1F3E59
square
#571F59 #593A1F #21591F #1F3E59
split-complementary
#571F59 #3E591F #1F593A
monochromatic
#160817 #2B0F2C #571F59 #832F86 #B03FB4

Accessibility & contrast

On white

12.03
#571F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571F59
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F59#FFFFFF#000000##FFFFFF
##571F591.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17325B
Deuteranopia (green-blind)
#2B3957
Tritanopia (blue-blind)
#592739
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571f59;
/* rgb */ color: rgb(87, 31, 89);
/* oklch */ color: oklch(34.9% 0.114 326.3);
Tailwind
colors: {
  custom: {
    50: '#885f88',
    500: '#571f59',
    950: '#000000',
  },
}
SCSS
$custom: #571f59;
$custom-light: #885f88;
$custom-dark: #000000;
JSON
{
  "hex": "#571f59",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 297.931,
    "s": 48.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3487,
    "c": 0.11433,
    "h": 326.3
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#571F59
secondary
#498E46
accent
#D85055
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #571F59

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

Preview Lab → · Contrast checker → · Palette generator →

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