#571971#571971

#571971 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.147 H 313.6°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#571971
RGBrgb(87, 25, 113)
HSLhsl(282, 64%, 27%)
HSVhsv(282, 78%, 44%)
CMYKcmyk(23%, 77.9%, 0%, 55.7%)
CIE-LABlab(23.39, 42.37, -37.62)
CIE-LCHlch(23.39, 56.66, 318.40°)
OKLaboklab(35.84% 0.1013 -0.1062)
OKLCHoklch(35.84% 0.147 313.6)
XYZxyz(7.2582, 3.9140, 15.9927)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571971 #337119
analogous
#2B1971 #571971 #71195F
triadic
#571971 #715719 #197157
tetradic
#571971 #712B19 #337119 #195F71
square
#571971 #712B19 #337119 #195F71
split-complementary
#571971 #5F7119 #19712B
monochromatic
#130619 #300E3F #571971 #7E24A3 #A333D2

Accessibility & contrast

On white

11.78
#571971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#571971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571971
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571971#FFFFFF#000000##FFFFFF
##5719711.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#11396F
Tritanopia (blue-blind)
#542D44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571971;
/* rgb */ color: rgb(87, 25, 113);
/* oklch */ color: oklch(35.8% 0.147 313.6);
Tailwind
colors: {
  custom: {
    50: '#8a5d9a',
    500: '#571971',
    950: '#000000',
  },
}
SCSS
$custom: #571971;
$custom-light: #8a5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#571971",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 282.273,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3584,
    "c": 0.1468,
    "h": 313.6
  },
  "luminance": 0.03914
}

Semantic roles & 50–950 ramp

primary
#571971
secondary
#5EA640
accent
#E74172
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571971

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

Preview Lab → · Contrast checker → · Palette generator →

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