#571B6C#571B6C

#571B6C is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.139 H 315.8°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#571B6C
RGBrgb(87, 27, 108)
HSLhsl(284, 60%, 26%)
HSVhsv(284, 75%, 42%)
CMYKcmyk(19.4%, 75%, 0%, 57.6%)
CIE-LABlab(23.31, 40.41, -34.50)
CIE-LCHlch(23.31, 53.14, 319.51°)
OKLaboklab(35.67% 0.0998 -0.0971)
OKLCHoklch(35.67% 0.139 315.8)
XYZxyz(7.0288, 3.8931, 14.5656)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B6C #306C1B
analogous
#2F1B6C #571B6C #6C1B59
triadic
#571B6C #6C571B #1B6C57
tetradic
#571B6C #6C2F1B #306C1B #1B596C
square
#571B6C #6C2F1B #306C1B #1B596C
split-complementary
#571B6C #596C1B #1B6C2F
monochromatic
#140618 #300F3B #571B6C #7E279D #A535CC

Accessibility & contrast

On white

11.81
#571B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#571B6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B6C
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B6C#FFFFFF#000000##FFFFFF
##571B6C1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#1A396A
Tritanopia (blue-blind)
#562C41
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571b6c;
/* rgb */ color: rgb(87, 27, 108);
/* oklch */ color: oklch(35.7% 0.139 315.8);
Tailwind
colors: {
  custom: {
    50: '#895e97',
    500: '#571b6c',
    950: '#000000',
  },
}
SCSS
$custom: #571b6c;
$custom-light: #895e97;
$custom-dark: #000000;
JSON
{
  "hex": "#571b6c",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 108
  },
  "hsl": {
    "h": 284.444,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35673,
    "c": 0.13929,
    "h": 315.8
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#571B6C
secondary
#5AA142
accent
#E3456E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #571B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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