#571970#571970

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

Color values

HEX#571970
RGBrgb(87, 25, 112)
HSLhsl(283, 64%, 27%)
HSVhsv(283, 78%, 44%)
CMYKcmyk(22.3%, 77.7%, 0%, 56.1%)
CIE-LABlab(23.31, 42.14, -37.10)
CIE-LCHlch(23.31, 56.14, 318.64°)
OKLaboklab(35.76% 0.1015 -0.1047)
OKLCHoklch(35.76% 0.146 314.1)
XYZxyz(7.2022, 3.8916, 15.6979)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571970 #327019
analogous
#2C1970 #571970 #70195E
triadic
#571970 #705719 #197057
tetradic
#571970 #702C19 #327019 #195E70
square
#571970 #702C19 #327019 #195E70
split-complementary
#571970 #5E7019 #19702C
monochromatic
#130619 #300E3E #571970 #7E24A2 #A432D1

Accessibility & contrast

On white

11.81
#571970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571970
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571970#FFFFFF#000000##FFFFFF
##5719701.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#13396E
Tritanopia (blue-blind)
#552C43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571970;
/* rgb */ color: rgb(87, 25, 112);
/* oklch */ color: oklch(35.8% 0.146 314.1);
Tailwind
colors: {
  custom: {
    50: '#8a5d9a',
    500: '#571970',
    950: '#000000',
  },
}
SCSS
$custom: #571970;
$custom-light: #8a5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#571970",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 282.759,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35763,
    "c": 0.1458,
    "h": 314.1
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#571970
secondary
#5DA540
accent
#E74171
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571970

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

Preview Lab → · Contrast checker → · Palette generator →

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