#571E58#571E58

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

Color values

HEX#571E58
RGBrgb(87, 30, 88)
HSLhsl(299, 49%, 23%)
HSVhsv(299, 66%, 35%)
CMYKcmyk(1.1%, 65.9%, 0%, 65.5%)
CIE-LABlab(22.51, 34.79, -22.65)
CIE-LCHlch(22.51, 41.52, 326.93°)
OKLaboklab(34.68% 0.0964 -0.0626)
OKLCHoklch(34.68% 0.115 327)
XYZxyz(6.1561, 3.6598, 9.6128)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E58 #1F581E
analogous
#3A1E58 #571E58 #581E3C
triadic
#571E58 #58571E #1E5857
tetradic
#571E58 #583A1E #1F581E #1E3C58
square
#571E58 #583A1E #1F581E #1E3C58
split-complementary
#571E58 #3C581E #1E583A
monochromatic
#170817 #2A0E2A #571E58 #842E86 #B13DB3

Accessibility & contrast

On white

12.13
#571E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#571E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E58
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E58#FFFFFF#000000##FFFFFF
##571E581.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571e58;
/* rgb */ color: rgb(87, 30, 88);
/* oklch */ color: oklch(34.7% 0.115 327.0);
Tailwind
colors: {
  custom: {
    50: '#895e87',
    500: '#571e58',
    950: '#000000',
  },
}
SCSS
$custom: #571e58;
$custom-light: #895e87;
$custom-dark: #000000;
JSON
{
  "hex": "#571e58",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 298.966,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34679,
    "c": 0.11496,
    "h": 327
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#571E58
secondary
#468D45
accent
#D94F51
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #571E58

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

Preview Lab → · Contrast checker → · Palette generator →

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