#571B72#571B72

#571B72 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.145 H 313.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#571B72
RGBrgb(87, 27, 114)
HSLhsl(281, 62%, 28%)
HSVhsv(281, 76%, 45%)
CMYKcmyk(23.7%, 76.3%, 0%, 55.3%)
CIE-LABlab(23.75, 41.75, -37.67)
CIE-LCHlch(23.75, 56.23, 317.95°)
OKLaboklab(36.13% 0.0991 -0.1064)
OKLCHoklch(36.13% 0.145 313)
XYZxyz(7.3591, 4.0252, 16.3056)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B72 #36721B
analogous
#2B1B72 #571B72 #721B62
triadic
#571B72 #72571B #1B7257
tetradic
#571B72 #722B1B #36721B #1B6272
square
#571B72 #722B1B #36721B #1B6272
split-complementary
#571B72 #62721B #1B722B
monochromatic
#130619 #310F41 #571B72 #7D27A3 #A138D0

Accessibility & contrast

On white

11.63
#571B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571B72
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B72#FFFFFF#000000##FFFFFF
##571B721.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#123A70
Tritanopia (blue-blind)
#542E45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571b72;
/* rgb */ color: rgb(87, 27, 114);
/* oklch */ color: oklch(36.1% 0.145 313.0);
Tailwind
colors: {
  custom: {
    50: '#8a5e9b',
    500: '#571b72',
    950: '#000000',
  },
}
SCSS
$custom: #571b72;
$custom-light: #8a5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#571b72",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 281.379,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36126,
    "c": 0.14537,
    "h": 313
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#571B72
secondary
#61A742
accent
#E54375
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571B72

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

Preview Lab → · Contrast checker → · Palette generator →

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