#571671#571671

#571671 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.150 H 313.9°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#571671
RGBrgb(87, 22, 113)
HSLhsl(283, 67%, 26%)
HSVhsv(283, 81%, 44%)
CMYKcmyk(23%, 80.5%, 0%, 55.7%)
CIE-LABlab(22.97, 43.55, -38.28)
CIE-LCHlch(22.97, 57.98, 318.68°)
OKLaboklab(35.55% 0.1042 -0.1082)
OKLCHoklch(35.55% 0.15 313.9)
XYZxyz(7.1975, 3.7926, 15.9725)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571671 #307116
analogous
#2A1671 #571671 #71165E
triadic
#571671 #715716 #167157
tetradic
#571671 #712A16 #307116 #165E71
square
#571671 #712A16 #307116 #165E71
split-complementary
#571671 #5E7116 #16712A
monochromatic
#14051A #300C3E #571671 #7E20A4 #A52CD6

Accessibility & contrast

On white

11.94
#571671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#571671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571671
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571671#FFFFFF#000000##FFFFFF
##5716711.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#0E386F
Tritanopia (blue-blind)
#542B43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571671;
/* rgb */ color: rgb(87, 22, 113);
/* oklch */ color: oklch(35.5% 0.150 313.9);
Tailwind
colors: {
  custom: {
    50: '#8a5c9a',
    500: '#571671',
    950: '#000000',
  },
}
SCSS
$custom: #571671;
$custom-light: #8a5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#571671",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 282.857,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3555,
    "c": 0.15022,
    "h": 313.9
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#571671
secondary
#5AA73C
accent
#EA3E6F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571671

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

Preview Lab → · Contrast checker → · Palette generator →

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