#571F58#571F58

#571F58 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.8% C 0.113 H 327.0°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#571F58
RGBrgb(87, 31, 88)
HSLhsl(299, 48%, 23%)
HSVhsv(299, 65%, 35%)
CMYKcmyk(1.1%, 64.8%, 0%, 65.5%)
CIE-LABlab(22.69, 34.30, -22.37)
CIE-LCHlch(22.69, 40.95, 326.89°)
OKLaboklab(34.81% 0.095 -0.0618)
OKLCHoklch(34.81% 0.113 327)
XYZxyz(6.1818, 3.7112, 9.6213)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F58 #20581F
analogous
#3A1F58 #571F58 #581F3C
triadic
#571F58 #58571F #1F5857
tetradic
#571F58 #583A1F #20581F #1F3C58
square
#571F58 #583A1F #20581F #1F3C58
split-complementary
#571F58 #3C581F #1F583A
monochromatic
#160817 #2A0F2B #571F58 #842F85 #B03FB3

Accessibility & contrast

On white

12.05
#571F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#571F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F58
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F58#FFFFFF#000000##FFFFFF
##571F581.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18325A
Deuteranopia (green-blind)
#2B3956
Tritanopia (blue-blind)
#5A2638
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571f58;
/* rgb */ color: rgb(87, 31, 88);
/* oklch */ color: oklch(34.8% 0.113 327.0);
Tailwind
colors: {
  custom: {
    50: '#885f87',
    500: '#571f58',
    950: '#000000',
  },
}
SCSS
$custom: #571f58;
$custom-light: #885f87;
$custom-dark: #000000;
JSON
{
  "hex": "#571f58",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 298.947,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34809,
    "c": 0.11335,
    "h": 327
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#571F58
secondary
#478D46
accent
#D75053
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #571F58

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

Preview Lab → · Contrast checker → · Palette generator →

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