#571A6D#571A6D

#571A6D is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.6% C 0.142 H 315.4°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#571A6D
RGBrgb(87, 26, 109)
HSLhsl(284, 61%, 26%)
HSVhsv(284, 76%, 43%)
CMYKcmyk(20.2%, 76.1%, 0%, 57.3%)
CIE-LABlab(23.23, 41.06, -35.28)
CIE-LCHlch(23.23, 54.14, 319.33°)
OKLaboklab(35.64% 0.1008 -0.0994)
OKLCHoklch(35.64% 0.142 315.4)
XYZxyz(7.0597, 3.8694, 14.8400)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A6D #306D1A
analogous
#2E1A6D #571A6D #6D1A5A
triadic
#571A6D #6D571A #1A6D57
tetradic
#571A6D #6D2E1A #306D1A #1A5A6D
square
#571A6D #6D2E1A #306D1A #1A5A6D
split-complementary
#571A6D #5A6D1A #1A6D2E
monochromatic
#140619 #300E3C #571A6D #7E269E #A533CE

Accessibility & contrast

On white

11.84
#571A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#571A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A6D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A6D#FFFFFF#000000##FFFFFF
##571A6D1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#18396B
Tritanopia (blue-blind)
#552C42
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571a6d;
/* rgb */ color: rgb(87, 26, 109);
/* oklch */ color: oklch(35.6% 0.142 315.4);
Tailwind
colors: {
  custom: {
    50: '#8a5d97',
    500: '#571a6d',
    950: '#000000',
  },
}
SCSS
$custom: #571a6d;
$custom-light: #8a5d97;
$custom-dark: #000000;
JSON
{
  "hex": "#571a6d",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 109
  },
  "hsl": {
    "h": 284.096,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3564,
    "c": 0.14157,
    "h": 315.4
  },
  "luminance": 0.03869
}

Semantic roles & 50–950 ramp

primary
#571A6D
secondary
#5AA241
accent
#E5436E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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