#571772#571772

#571772 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.150 H 313.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#571772
RGBrgb(87, 23, 114)
HSLhsl(282, 66%, 27%)
HSVhsv(282, 80%, 45%)
CMYKcmyk(23.7%, 79.8%, 0%, 55.3%)
CIE-LABlab(23.18, 43.38, -38.59)
CIE-LCHlch(23.18, 58.06, 318.35°)
OKLaboklab(35.72% 0.1031 -0.1091)
OKLCHoklch(35.72% 0.15 313.4)
XYZxyz(7.2736, 3.8542, 16.2771)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571772 #327217
analogous
#2A1772 #571772 #721760
triadic
#571772 #725717 #177257
tetradic
#571772 #722A17 #327217 #176072
square
#571772 #722A17 #327217 #176072
split-complementary
#571772 #607217 #17722A
monochromatic
#130519 #300D3F #571772 #7E21A5 #A42ED5

Accessibility & contrast

On white

11.86
#571772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571772
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571772#FFFFFF#000000##FFFFFF
##5717721.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#0D3970
Tritanopia (blue-blind)
#542C44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571772;
/* rgb */ color: rgb(87, 23, 114);
/* oklch */ color: oklch(35.7% 0.150 313.4);
Tailwind
colors: {
  custom: {
    50: '#8a5c9b',
    500: '#571772',
    950: '#000000',
  },
}
SCSS
$custom: #571772;
$custom-light: #8a5c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#571772",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 282.198,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35722,
    "c": 0.15009,
    "h": 313.4
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#571772
secondary
#5DA83D
accent
#E93E71
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571772

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

Preview Lab → · Contrast checker → · Palette generator →

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