#571E5F#571E5F

#571E5F is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.1% C 0.122 H 322.6°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#571E5F
RGBrgb(87, 30, 95)
HSLhsl(293, 52%, 25%)
HSVhsv(293, 68%, 37%)
CMYKcmyk(8.4%, 68.4%, 0%, 62.7%)
CIE-LABlab(22.94, 36.23, -26.62)
CIE-LCHlch(22.94, 44.95, 323.69°)
OKLaboklab(35.12% 0.0968 -0.0741)
OKLCHoklch(35.12% 0.122 322.6)
XYZxyz(6.4601, 3.7814, 11.2139)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E5F #265F1E
analogous
#371E5F #571E5F #5F1E47
triadic
#571E5F #5F571E #1E5F57
tetradic
#571E5F #5F371E #265F1E #1E475F
square
#571E5F #5F371E #265F1E #1E475F
split-complementary
#571E5F #475F1E #1E5F37
monochromatic
#150717 #2C0F30 #571E5F #822D8E #AC3BBC

Accessibility & contrast

On white

11.96
#571E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#571E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E5F
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E5F#FFFFFF#000000##FFFFFF
##571E5F1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3261
Deuteranopia (green-blind)
#27395D
Tritanopia (blue-blind)
#58283B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571e5f;
/* rgb */ color: rgb(87, 30, 95);
/* oklch */ color: oklch(35.1% 0.122 322.6);
Tailwind
colors: {
  custom: {
    50: '#895f8d',
    500: '#571e5f',
    950: '#000000',
  },
}
SCSS
$custom: #571e5f;
$custom-light: #895f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#571e5f",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 95
  },
  "hsl": {
    "h": 292.615,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35121,
    "c": 0.12188,
    "h": 322.6
  },
  "luminance": 0.03781
}

Semantic roles & 50–950 ramp

primary
#571E5F
secondary
#4F9445
accent
#DB4C5E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #571E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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