#571F68#571F68

#571F68 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.9% C 0.130 H 317.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#571F68
RGBrgb(87, 31, 104)
HSLhsl(286, 54%, 26%)
HSVhsv(286, 70%, 41%)
CMYKcmyk(16.3%, 70.2%, 0%, 59.2%)
CIE-LABlab(23.69, 37.69, -31.30)
CIE-LCHlch(23.69, 48.99, 320.29°)
OKLaboklab(35.85% 0.0954 -0.0878)
OKLCHoklch(35.85% 0.13 317.4)
XYZxyz(6.9188, 4.0060, 13.5028)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F68 #30681F
analogous
#331F68 #571F68 #681F55
triadic
#571F68 #68571F #1F6857
tetradic
#571F68 #68331F #30681F #1F5568
square
#571F68 #68331F #30681F #1F5568
split-complementary
#571F68 #55681F #1F6833
monochromatic
#140718 #301139 #571F68 #7E2D97 #A53CC5

Accessibility & contrast

On white

11.66
#571F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#571F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F68
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F68#FFFFFF#000000##FFFFFF
##571F681.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02356A
Deuteranopia (green-blind)
#213A66
Tritanopia (blue-blind)
#562D40
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571f68;
/* rgb */ color: rgb(87, 31, 104);
/* oklch */ color: oklch(35.9% 0.130 317.4);
Tailwind
colors: {
  custom: {
    50: '#895f93',
    500: '#571f68',
    950: '#000000',
  },
}
SCSS
$custom: #571f68;
$custom-light: #895f93;
$custom-dark: #000000;
JSON
{
  "hex": "#571f68",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 286.027,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35854,
    "c": 0.12963,
    "h": 317.4
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

primary
#571F68
secondary
#5A9C46
accent
#DD4A6D
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #571F68

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

Preview Lab → · Contrast checker → · Palette generator →

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