#571F6B#571F6B

#571F6B is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.1% C 0.133 H 315.8°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#571F6B
RGBrgb(87, 31, 107)
HSLhsl(284, 55%, 27%)
HSVhsv(284, 71%, 42%)
CMYKcmyk(18.7%, 71%, 0%, 58%)
CIE-LABlab(23.89, 38.36, -32.92)
CIE-LCHlch(23.89, 50.55, 319.36°)
OKLaboklab(36.07% 0.0953 -0.0925)
OKLCHoklch(36.07% 0.133 315.8)
XYZxyz(7.0739, 4.0680, 14.3196)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F6B #336B1F
analogous
#311F6B #571F6B #6B1F59
triadic
#571F6B #6B571F #1F6B57
tetradic
#571F6B #6B311F #336B1F #1F596B
square
#571F6B #6B311F #336B1F #1F596B
split-complementary
#571F6B #596B1F #1F6B31
monochromatic
#130718 #30113C #571F6B #7E2D9A #A33DC7

Accessibility & contrast

On white

11.58
#571F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571F6B
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F6B#FFFFFF#000000##FFFFFF
##571F6B1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#1E3A69
Tritanopia (blue-blind)
#562E42
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571f6b;
/* rgb */ color: rgb(87, 31, 107);
/* oklch */ color: oklch(36.1% 0.133 315.8);
Tailwind
colors: {
  custom: {
    50: '#896096',
    500: '#571f6b',
    950: '#000000',
  },
}
SCSS
$custom: #571f6b;
$custom-light: #896096;
$custom-dark: #000000;
JSON
{
  "hex": "#571f6b",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 107
  },
  "hsl": {
    "h": 284.211,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36066,
    "c": 0.13279,
    "h": 315.8
  },
  "luminance": 0.04068
}

Semantic roles & 50–950 ramp

primary
#571F6B
secondary
#5E9F47
accent
#DE4971
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #571F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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