#571B73#571B73

#571B73 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.146 H 312.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#571B73
RGBrgb(87, 27, 115)
HSLhsl(281, 62%, 28%)
HSVhsv(281, 77%, 45%)
CMYKcmyk(24.3%, 76.5%, 0%, 54.9%)
CIE-LABlab(23.83, 41.98, -38.19)
CIE-LCHlch(23.83, 56.75, 317.71°)
OKLaboklab(36.2% 0.0989 -0.1079)
OKLCHoklch(36.2% 0.146 312.5)
XYZxyz(7.4164, 4.0481, 16.6070)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B73 #37731B
analogous
#2B1B73 #571B73 #731B63
triadic
#571B73 #73571B #1B7357
tetradic
#571B73 #732B1B #37731B #1B6373
square
#571B73 #732B1B #37731B #1B6373
split-complementary
#571B73 #63731B #1B732B
monochromatic
#130619 #320F41 #571B73 #7C27A5 #A038D0

Accessibility & contrast

On white

11.60
#571B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571B73
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B73#FFFFFF#000000##FFFFFF
##571B731.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#103A71
Tritanopia (blue-blind)
#542F45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571b73;
/* rgb */ color: rgb(87, 27, 115);
/* oklch */ color: oklch(36.2% 0.146 312.5);
Tailwind
colors: {
  custom: {
    50: '#8a5e9c',
    500: '#571b73',
    950: '#000000',
  },
}
SCSS
$custom: #571b73;
$custom-light: #8a5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#571b73",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 280.909,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36203,
    "c": 0.1464,
    "h": 312.5
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#571B73
secondary
#62A842
accent
#E54376
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571B73

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

Preview Lab → · Contrast checker → · Palette generator →

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