#571972#571972

#571972 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.148 H 313.2°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#571972
RGBrgb(87, 25, 114)
HSLhsl(282, 64%, 27%)
HSVhsv(282, 78%, 45%)
CMYKcmyk(23.7%, 78.1%, 0%, 55.3%)
CIE-LABlab(23.46, 42.59, -38.14)
CIE-LCHlch(23.46, 57.17, 318.16°)
OKLaboklab(35.92% 0.1011 -0.1078)
OKLCHoklch(35.92% 0.148 313.2)
XYZxyz(7.3148, 3.9366, 16.2908)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571972 #347219
analogous
#2B1972 #571972 #721961
triadic
#571972 #725719 #197257
tetradic
#571972 #722B19 #347219 #196172
square
#571972 #722B19 #347219 #196172
split-complementary
#571972 #617219 #19722B
monochromatic
#130619 #310E40 #571972 #7D24A4 #A233D2

Accessibility & contrast

On white

11.75
#571972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#571972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571972
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571972#FFFFFF#000000##FFFFFF
##5719721.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#103970
Tritanopia (blue-blind)
#542D44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571972;
/* rgb */ color: rgb(87, 25, 114);
/* oklch */ color: oklch(35.9% 0.148 313.2);
Tailwind
colors: {
  custom: {
    50: '#8a5d9b',
    500: '#571972',
    950: '#000000',
  },
}
SCSS
$custom: #571972;
$custom-light: #8a5d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#571972",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 281.798,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35918,
    "c": 0.1478,
    "h": 313.2
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#571972
secondary
#5FA740
accent
#E74173
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571972

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

Preview Lab → · Contrast checker → · Palette generator →

#571972 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva