#571F6F#571F6F

#571F6F is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.4% C 0.137 H 313.9°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#571F6F
RGBrgb(87, 31, 111)
HSLhsl(282, 56%, 28%)
HSVhsv(282, 72%, 44%)
CMYKcmyk(21.6%, 72.1%, 0%, 56.5%)
CIE-LABlab(24.17, 39.26, -35.06)
CIE-LCHlch(24.17, 52.64, 318.24°)
OKLaboklab(36.36% 0.0949 -0.0988)
OKLCHoklch(36.36% 0.137 313.9)
XYZxyz(7.2892, 4.1541, 15.4537)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F6F #376F1F
analogous
#2F1F6F #571F6F #6F1F5F
triadic
#571F6F #6F571F #1F6F57
tetradic
#571F6F #6F2F1F #376F1F #1F5F6F
square
#571F6F #6F2F1F #376F1F #1F5F6F
split-complementary
#571F6F #5F6F1F #1F6F2F
monochromatic
#130718 #32123F #571F6F #7C2C9F #A03FC9

Accessibility & contrast

On white

11.47
#571F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#571F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F6F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F6F#FFFFFF#000000##FFFFFF
##571F6F1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#1A3B6D
Tritanopia (blue-blind)
#552F44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571f6f;
/* rgb */ color: rgb(87, 31, 111);
/* oklch */ color: oklch(36.4% 0.137 313.9);
Tailwind
colors: {
  custom: {
    50: '#896099',
    500: '#571f6f',
    950: '#000000',
  },
}
SCSS
$custom: #571f6f;
$custom-light: #896099;
$custom-dark: #000000;
JSON
{
  "hex": "#571f6f",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 282,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36356,
    "c": 0.13699,
    "h": 313.9
  },
  "luminance": 0.04154
}

Semantic roles & 50–950 ramp

primary
#571F6F
secondary
#62A347
accent
#E04876
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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