#571A5F#571A5F

#571A5F is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.6% C 0.128 H 322.9°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#571A5F
RGBrgb(87, 26, 95)
HSLhsl(293, 57%, 24%)
HSVhsv(293, 73%, 37%)
CMYKcmyk(8.4%, 72.6%, 0%, 62.7%)
CIE-LABlab(22.27, 38.08, -27.67)
CIE-LCHlch(22.27, 47.07, 323.99°)
OKLaboklab(34.64% 0.1018 -0.0771)
OKLCHoklch(34.64% 0.128 322.9)
XYZxyz(6.3652, 3.5916, 11.1822)
Luminance0.0359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A5F #225F1A
analogous
#341A5F #571A5F #5F1A44
triadic
#571A5F #5F571A #1A5F57
tetradic
#571A5F #5F341A #225F1A #1A445F
square
#571A5F #5F341A #225F1A #1A445F
split-complementary
#571A5F #445F1A #1A5F34
monochromatic
#160718 #2B0D2F #571A5F #83278F #AF34BF

Accessibility & contrast

On white

12.22
#571A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#571A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A5F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A5F#FFFFFF#000000##FFFFFF
##571A5F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063161
Deuteranopia (green-blind)
#24385D
Tritanopia (blue-blind)
#58263A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571a5f;
/* rgb */ color: rgb(87, 26, 95);
/* oklch */ color: oklch(34.6% 0.128 322.9);
Tailwind
colors: {
  custom: {
    50: '#895d8d',
    500: '#571a5f',
    950: '#000000',
  },
}
SCSS
$custom: #571a5f;
$custom-light: #895d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#571a5f",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 293.043,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34644,
    "c": 0.12774,
    "h": 322.9
  },
  "luminance": 0.03591
}

Semantic roles & 50–950 ramp

primary
#571A5F
secondary
#4A9540
accent
#E04859
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #571A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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