#571B66#571B66

#571B66 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.2% C 0.133 H 318.9°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#571B66
RGBrgb(87, 27, 102)
HSLhsl(288, 58%, 25%)
HSVhsv(288, 74%, 40%)
CMYKcmyk(14.7%, 73.5%, 0%, 60%)
CIE-LABlab(22.89, 39.10, -31.27)
CIE-LCHlch(22.89, 50.07, 321.35°)
OKLaboklab(35.24% 0.1004 -0.0877)
OKLCHoklch(35.24% 0.133 318.9)
XYZxyz(6.7204, 3.7697, 12.9414)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B66 #2A661B
analogous
#311B66 #571B66 #661B4F
triadic
#571B66 #66571B #1B6657
tetradic
#571B66 #66311B #2A661B #1B4F66
square
#571B66 #66311B #2A661B #1B4F66
split-complementary
#571B66 #4F661B #1B6631
monochromatic
#150618 #2E0E36 #571B66 #802896 #AA35C7

Accessibility & contrast

On white

11.97
#571B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#571B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B66
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B66#FFFFFF#000000##FFFFFF
##571B661.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003368
Deuteranopia (green-blind)
#203964
Tritanopia (blue-blind)
#57293E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571b66;
/* rgb */ color: rgb(87, 27, 102);
/* oklch */ color: oklch(35.2% 0.133 318.9);
Tailwind
colors: {
  custom: {
    50: '#895d92',
    500: '#571b66',
    950: '#000000',
  },
}
SCSS
$custom: #571b66;
$custom-light: #895d92;
$custom-dark: #000000;
JSON
{
  "hex": "#571b66",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 102
  },
  "hsl": {
    "h": 288,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3524,
    "c": 0.13325,
    "h": 318.9
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#571B66
secondary
#539B41
accent
#E14665
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571B66

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

Preview Lab → · Contrast checker → · Palette generator →

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