#571F72#571F72

#571F72 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.6% C 0.140 H 312.5°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#571F72
RGBrgb(87, 31, 114)
HSLhsl(280, 57%, 28%)
HSVhsv(280, 73%, 45%)
CMYKcmyk(23.7%, 72.8%, 0%, 55.3%)
CIE-LABlab(24.39, 39.96, -36.64)
CIE-LCHlch(24.39, 54.21, 317.48°)
OKLaboklab(36.58% 0.0946 -0.1034)
OKLCHoklch(36.58% 0.14 312.5)
XYZxyz(7.4572, 4.2213, 16.3383)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F72 #3A721F
analogous
#2D1F72 #571F72 #721F63
triadic
#571F72 #72571F #1F7257
tetradic
#571F72 #722D1F #3A721F #1F6372
square
#571F72 #722D1F #3A721F #1F6372
split-complementary
#571F72 #63721F #1F722D
monochromatic
#120718 #321242 #571F72 #7C2CA2 #9E40CB

Accessibility & contrast

On white

11.39
#571F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#571F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F72
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F72#FFFFFF#000000##FFFFFF
##571F721.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#173B70
Tritanopia (blue-blind)
#543046
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571f72;
/* rgb */ color: rgb(87, 31, 114);
/* oklch */ color: oklch(36.6% 0.140 312.5);
Tailwind
colors: {
  custom: {
    50: '#8a609b',
    500: '#571f72',
    950: '#000000',
  },
}
SCSS
$custom: #571f72;
$custom-light: #8a609b;
$custom-dark: #000000;
JSON
{
  "hex": "#571f72",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 280.482,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36578,
    "c": 0.14018,
    "h": 312.5
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#571F72
secondary
#66A647
accent
#E04779
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571F72

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

Preview Lab → · Contrast checker → · Palette generator →

#571F72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva