#571A6B#571A6B

#571A6B is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.140 H 316.4°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#571A6B
RGBrgb(87, 26, 107)
HSLhsl(285, 61%, 26%)
HSVhsv(285, 76%, 42%)
CMYKcmyk(18.7%, 75.7%, 0%, 58%)
CIE-LABlab(23.09, 40.62, -34.22)
CIE-LCHlch(23.09, 53.11, 319.89°)
OKLaboklab(35.49% 0.1011 -0.0963)
OKLCHoklch(35.49% 0.14 316.4)
XYZxyz(6.9533, 3.8268, 14.2795)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A6B #2E6B1A
analogous
#2E1A6B #571A6B #6B1A56
triadic
#571A6B #6B571A #1A6B57
tetradic
#571A6B #6B2E1A #2E6B1A #1A566B
square
#571A6B #6B2E1A #2E6B1A #1A566B
split-complementary
#571A6B #566B1A #1A6B2E
monochromatic
#140619 #2F0E3A #571A6B #7F269C #A732CD

Accessibility & contrast

On white

11.90
#571A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571A6B
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A6B#FFFFFF#000000##FFFFFF
##571A6B1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#1A3969
Tritanopia (blue-blind)
#562B41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571a6b;
/* rgb */ color: rgb(87, 26, 107);
/* oklch */ color: oklch(35.5% 0.140 316.4);
Tailwind
colors: {
  custom: {
    50: '#895d96',
    500: '#571a6b',
    950: '#000000',
  },
}
SCSS
$custom: #571a6b;
$custom-light: #895d96;
$custom-dark: #000000;
JSON
{
  "hex": "#571a6b",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 107
  },
  "hsl": {
    "h": 285.185,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35491,
    "c": 0.13957,
    "h": 316.4
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#571A6B
secondary
#58A040
accent
#E4446B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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