#571071#571071

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

Color values

HEX#571071
RGBrgb(87, 16, 113)
HSLhsl(284, 75%, 25%)
HSVhsv(284, 86%, 44%)
CMYKcmyk(23%, 85.8%, 0%, 55.7%)
CIE-LABlab(22.26, 45.60, -39.43)
CIE-LCHlch(22.26, 60.29, 319.15°)
OKLaboklab(35.05% 0.1093 -0.1115)
OKLCHoklch(35.05% 0.156 314.4)
XYZxyz(7.0959, 3.5893, 15.9386)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571071 #2A7110
analogous
#271071 #571071 #71105A
triadic
#571071 #715710 #107157
tetradic
#571071 #712710 #2A7110 #105A71
square
#571071 #712710 #2A7110 #105A71
split-complementary
#571071 #5A7110 #107127
monochromatic
#15041B #2E083B #571071 #8018A7 #AA1FDC

Accessibility & contrast

On white

12.22
#571071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571071
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571071#FFFFFF#000000##FFFFFF
##5710711.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#06376F
Tritanopia (blue-blind)
#542942
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571071;
/* rgb */ color: rgb(87, 16, 113);
/* oklch */ color: oklch(35.1% 0.156 314.4);
Tailwind
colors: {
  custom: {
    50: '#8a599a',
    500: '#571071',
    950: '#000000',
  },
}
SCSS
$custom: #571071;
$custom-light: #8a599a;
$custom-dark: #000000;
JSON
{
  "hex": "#571071",
  "rgb": {
    "r": 87,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 283.918,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35052,
    "c": 0.15615,
    "h": 314.4
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#571071
secondary
#53A934
accent
#F23668
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571071

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

Preview Lab → · Contrast checker → · Palette generator →

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