#571B68#571B68

#571B68 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.135 H 317.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#571B68
RGBrgb(87, 27, 104)
HSLhsl(287, 59%, 26%)
HSVhsv(287, 74%, 41%)
CMYKcmyk(16.3%, 74%, 0%, 59.2%)
CIE-LABlab(23.03, 39.53, -32.36)
CIE-LCHlch(23.03, 51.09, 320.70°)
OKLaboklab(35.38% 0.1002 -0.0908)
OKLCHoklch(35.38% 0.135 317.8)
XYZxyz(6.8207, 3.8099, 13.4701)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B68 #2C681B
analogous
#301B68 #571B68 #681B52
triadic
#571B68 #68571B #1B6857
tetradic
#571B68 #68301B #2C681B #1B5268
square
#571B68 #68301B #2C681B #1B5268
split-complementary
#571B68 #52681B #1B6830
monochromatic
#140618 #2E0E37 #571B68 #802899 #A834C9

Accessibility & contrast

On white

11.92
#571B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#571B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B68
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B68#FFFFFF#000000##FFFFFF
##571B681.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#1E3966
Tritanopia (blue-blind)
#562A3F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571b68;
/* rgb */ color: rgb(87, 27, 104);
/* oklch */ color: oklch(35.4% 0.135 317.8);
Tailwind
colors: {
  custom: {
    50: '#895d93',
    500: '#571b68',
    950: '#000000',
  },
}
SCSS
$custom: #571b68;
$custom-light: #895d93;
$custom-dark: #000000;
JSON
{
  "hex": "#571b68",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 286.753,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35382,
    "c": 0.13526,
    "h": 317.8
  },
  "luminance": 0.0381
}

Semantic roles & 50–950 ramp

primary
#571B68
secondary
#569D42
accent
#E24668
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #571B68

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

Preview Lab → · Contrast checker → · Palette generator →

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