#571F6A#571F6A

#571F6A is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.132 H 316.3°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#571F6A
RGBrgb(87, 31, 106)
HSLhsl(285, 55%, 27%)
HSVhsv(285, 71%, 42%)
CMYKcmyk(17.9%, 70.8%, 0%, 58.4%)
CIE-LABlab(23.83, 38.13, -32.38)
CIE-LCHlch(23.83, 50.03, 319.66°)
OKLaboklab(35.99% 0.0953 -0.0909)
OKLCHoklch(35.99% 0.132 316.3)
XYZxyz(7.0216, 4.0471, 14.0442)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F6A #326A1F
analogous
#321F6A #571F6A #6A1F58
triadic
#571F6A #6A571F #1F6A57
tetradic
#571F6A #6A321F #326A1F #1F586A
square
#571F6A #6A321F #326A1F #1F586A
split-complementary
#571F6A #586A1F #1F6A32
monochromatic
#130718 #30113B #571F6A #7E2D99 #A43DC6

Accessibility & contrast

On white

11.61
#571F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#571F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F6A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F6A#FFFFFF#000000##FFFFFF
##571F6A1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#1F3A68
Tritanopia (blue-blind)
#562D42
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571f6a;
/* rgb */ color: rgb(87, 31, 106);
/* oklch */ color: oklch(36.0% 0.132 316.3);
Tailwind
colors: {
  custom: {
    50: '#896095',
    500: '#571f6a',
    950: '#000000',
  },
}
SCSS
$custom: #571f6a;
$custom-light: #896095;
$custom-dark: #000000;
JSON
{
  "hex": "#571f6a",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 106
  },
  "hsl": {
    "h": 284.8,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35995,
    "c": 0.13173,
    "h": 316.3
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#571F6A
secondary
#5D9E47
accent
#DE4A6F
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #571F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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