#571A6F#571A6F

#571A6F is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.144 H 314.5°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#571A6F
RGBrgb(87, 26, 111)
HSLhsl(283, 62%, 27%)
HSVhsv(283, 77%, 44%)
CMYKcmyk(21.6%, 76.6%, 0%, 56.5%)
CIE-LABlab(23.38, 41.50, -36.33)
CIE-LCHlch(23.38, 55.16, 318.80°)
OKLaboklab(35.79% 0.1006 -0.1025)
OKLCHoklch(35.79% 0.144 314.5)
XYZxyz(7.1686, 3.9130, 15.4135)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A6F #326F1A
analogous
#2D1A6F #571A6F #6F1A5D
triadic
#571A6F #6F571A #1A6F57
tetradic
#571A6F #6F2D1A #326F1A #1A5D6F
square
#571A6F #6F2D1A #326F1A #1A5D6F
split-complementary
#571A6F #5D6F1A #1A6F2D
monochromatic
#130619 #300E3D #571A6F #7E26A1 #A434CF

Accessibility & contrast

On white

11.78
#571A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571A6F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A6F#FFFFFF#000000##FFFFFF
##571A6F1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#15396D
Tritanopia (blue-blind)
#552C43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571a6f;
/* rgb */ color: rgb(87, 26, 111);
/* oklch */ color: oklch(35.8% 0.144 314.5);
Tailwind
colors: {
  custom: {
    50: '#8a5d99',
    500: '#571a6f',
    950: '#000000',
  },
}
SCSS
$custom: #571a6f;
$custom-light: #8a5d99;
$custom-dark: #000000;
JSON
{
  "hex": "#571a6f",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 283.059,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3579,
    "c": 0.14358,
    "h": 314.5
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#571A6F
secondary
#5DA441
accent
#E54371
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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