#571A6E#571A6E

#571A6E is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.143 H 314.9°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#571A6E
RGBrgb(87, 26, 110)
HSLhsl(284, 62%, 27%)
HSVhsv(284, 76%, 43%)
CMYKcmyk(20.9%, 76.4%, 0%, 56.9%)
CIE-LABlab(23.31, 41.28, -35.81)
CIE-LCHlch(23.31, 54.65, 319.06°)
OKLaboklab(35.72% 0.1007 -0.1009)
OKLCHoklch(35.72% 0.143 314.9)
XYZxyz(7.1139, 3.8911, 15.1251)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A6E #316E1A
analogous
#2D1A6E #571A6E #6E1A5B
triadic
#571A6E #6E571A #1A6E57
tetradic
#571A6E #6E2D1A #316E1A #1A5B6E
square
#571A6E #6E2D1A #316E1A #1A5B6E
split-complementary
#571A6E #5B6E1A #1A6E2D
monochromatic
#140619 #300E3D #571A6E #7E26A0 #A434CF

Accessibility & contrast

On white

11.81
#571A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#571A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A6E
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A6E#FFFFFF#000000##FFFFFF
##571A6E1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#17396C
Tritanopia (blue-blind)
#552C42
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571a6e;
/* rgb */ color: rgb(87, 26, 110);
/* oklch */ color: oklch(35.7% 0.143 314.9);
Tailwind
colors: {
  custom: {
    50: '#8a5d98',
    500: '#571a6e',
    950: '#000000',
  },
}
SCSS
$custom: #571a6e;
$custom-light: #8a5d98;
$custom-dark: #000000;
JSON
{
  "hex": "#571a6e",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 283.571,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35715,
    "c": 0.14257,
    "h": 314.9
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#571A6E
secondary
#5CA341
accent
#E5436F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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