#571A70#571A70

#571A70 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.145 H 314.0°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#571A70
RGBrgb(87, 26, 112)
HSLhsl(283, 62%, 27%)
HSVhsv(283, 77%, 44%)
CMYKcmyk(22.3%, 76.8%, 0%, 56.1%)
CIE-LABlab(23.46, 41.73, -36.86)
CIE-LCHlch(23.46, 55.68, 318.54°)
OKLaboklab(35.87% 0.1004 -0.104)
OKLCHoklch(35.87% 0.145 314)
XYZxyz(7.2240, 3.9351, 15.7051)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A70 #33701A
analogous
#2C1A70 #571A70 #701A5E
triadic
#571A70 #70571A #1A7057
tetradic
#571A70 #702C1A #33701A #1A5E70
square
#571A70 #702C1A #33701A #1A5E70
split-complementary
#571A70 #5E701A #1A702C
monochromatic
#130619 #300E3E #571A70 #7E26A2 #A334D0

Accessibility & contrast

On white

11.75
#571A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#571A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A70
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A70#FFFFFF#000000##FFFFFF
##571A701.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#14396E
Tritanopia (blue-blind)
#552D43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571a70;
/* rgb */ color: rgb(87, 26, 112);
/* oklch */ color: oklch(35.9% 0.145 314.0);
Tailwind
colors: {
  custom: {
    50: '#8a5d9a',
    500: '#571a70',
    950: '#000000',
  },
}
SCSS
$custom: #571a70;
$custom-light: #8a5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#571a70",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 282.558,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35867,
    "c": 0.14458,
    "h": 314
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#571A70
secondary
#5EA541
accent
#E54272
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571A70

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

Preview Lab → · Contrast checker → · Palette generator →

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