#571072#571072

#571072 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.157 H 314.0°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#571072
RGBrgb(87, 16, 114)
HSLhsl(283, 75%, 25%)
HSVhsv(283, 86%, 45%)
CMYKcmyk(23.7%, 86%, 0%, 55.3%)
CIE-LABlab(22.34, 45.81, -39.95)
CIE-LCHlch(22.34, 60.78, 318.91°)
OKLaboklab(35.13% 0.1091 -0.113)
OKLCHoklch(35.13% 0.157 314)
XYZxyz(7.1525, 3.6120, 16.2367)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571072 #2B7210
analogous
#261072 #571072 #72105C
triadic
#571072 #725710 #107257
tetradic
#571072 #722610 #2B7210 #105C72
square
#571072 #722610 #2B7210 #105C72
split-complementary
#571072 #5C7210 #107226
monochromatic
#14041B #2E083C #571072 #8018A8 #A91FDD

Accessibility & contrast

On white

12.19
#571072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#571072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571072
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571072#FFFFFF#000000##FFFFFF
##5710721.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#043770
Tritanopia (blue-blind)
#542942
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571072;
/* rgb */ color: rgb(87, 16, 114);
/* oklch */ color: oklch(35.1% 0.157 314.0);
Tailwind
colors: {
  custom: {
    50: '#8a599b',
    500: '#571072',
    950: '#000000',
  },
}
SCSS
$custom: #571072;
$custom-light: #8a599b;
$custom-dark: #000000;
JSON
{
  "hex": "#571072",
  "rgb": {
    "r": 87,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 283.469,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35133,
    "c": 0.15707,
    "h": 314
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#571072
secondary
#55A934
accent
#F2366A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571072

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

Preview Lab → · Contrast checker → · Palette generator →

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