#571F66#571F66

#571F66 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.7% C 0.128 H 318.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#571F66
RGBrgb(87, 31, 102)
HSLhsl(287, 53%, 26%)
HSVhsv(287, 70%, 40%)
CMYKcmyk(14.7%, 69.6%, 0%, 60%)
CIE-LABlab(23.56, 37.25, -30.21)
CIE-LCHlch(23.56, 47.96, 320.95°)
OKLaboklab(35.72% 0.0955 -0.0846)
OKLCHoklch(35.72% 0.128 318.5)
XYZxyz(6.8184, 3.9658, 12.9741)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F66 #2E661F
analogous
#331F66 #571F66 #661F51
triadic
#571F66 #66571F #1F6657
tetradic
#571F66 #66331F #2E661F #1F5166
square
#571F66 #66331F #2E661F #1F5166
split-complementary
#571F66 #51661F #1F6633
monochromatic
#140717 #2F1137 #571F66 #7F2D95 #A73CC4

Accessibility & contrast

On white

11.71
#571F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#571F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F66
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F66#FFFFFF#000000##FFFFFF
##571F661.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063468
Deuteranopia (green-blind)
#233A64
Tritanopia (blue-blind)
#572C3F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571f66;
/* rgb */ color: rgb(87, 31, 102);
/* oklch */ color: oklch(35.7% 0.128 318.5);
Tailwind
colors: {
  custom: {
    50: '#895f92',
    500: '#571f66',
    950: '#000000',
  },
}
SCSS
$custom: #571f66;
$custom-light: #895f92;
$custom-dark: #000000;
JSON
{
  "hex": "#571f66",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 102
  },
  "hsl": {
    "h": 287.324,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35716,
    "c": 0.12755,
    "h": 318.5
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#571F66
secondary
#589A46
accent
#DD4B6A
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #571F66

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

Preview Lab → · Contrast checker → · Palette generator →

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