#571771#571771

#571771 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.149 H 313.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#571771
RGBrgb(87, 23, 113)
HSLhsl(283, 66%, 27%)
HSVhsv(283, 80%, 44%)
CMYKcmyk(23%, 79.6%, 0%, 55.7%)
CIE-LABlab(23.11, 43.16, -38.07)
CIE-LCHlch(23.11, 57.55, 318.59°)
OKLaboklab(35.64% 0.1033 -0.1075)
OKLCHoklch(35.64% 0.149 313.8)
XYZxyz(7.2170, 3.8315, 15.9790)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571771 #317117
analogous
#2A1771 #571771 #71175E
triadic
#571771 #715717 #177157
tetradic
#571771 #712A17 #317117 #175E71
square
#571771 #712A17 #317117 #175E71
split-complementary
#571771 #5E7117 #17712A
monochromatic
#140519 #300D3E #571771 #7E21A4 #A42ED4

Accessibility & contrast

On white

11.89
#571771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#571771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571771
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571771#FFFFFF#000000##FFFFFF
##5717711.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#0F396F
Tritanopia (blue-blind)
#542C43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571771;
/* rgb */ color: rgb(87, 23, 113);
/* oklch */ color: oklch(35.6% 0.149 313.8);
Tailwind
colors: {
  custom: {
    50: '#8a5c9a',
    500: '#571771',
    950: '#000000',
  },
}
SCSS
$custom: #571771;
$custom-light: #8a5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#571771",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 282.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35643,
    "c": 0.1491,
    "h": 313.8
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#571771
secondary
#5CA73D
accent
#E93F70
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571771

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

Preview Lab → · Contrast checker → · Palette generator →

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