#571B62#571B62

#571B62 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.129 H 321.1°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#571B62
RGBrgb(87, 27, 98)
HSLhsl(291, 57%, 25%)
HSVhsv(291, 72%, 38%)
CMYKcmyk(11.2%, 72.4%, 0%, 61.6%)
CIE-LABlab(22.63, 38.25, -29.08)
CIE-LCHlch(22.63, 48.05, 322.76°)
OKLaboklab(34.96% 0.1006 -0.0812)
OKLCHoklch(34.96% 0.129 321.1)
XYZxyz(6.5268, 3.6923, 11.9218)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B62 #26621B
analogous
#341B62 #571B62 #621B4A
triadic
#571B62 #62571B #1B6257
tetradic
#571B62 #62341B #26621B #1B4A62
square
#571B62 #62341B #26621B #1B4A62
split-complementary
#571B62 #4A621B #1B6234
monochromatic
#150718 #2C0E32 #571B62 #822892 #AC35C2

Accessibility & contrast

On white

12.08
#571B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#571B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B62
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B62#FFFFFF#000000##FFFFFF
##571B621.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033264
Deuteranopia (green-blind)
#233860
Tritanopia (blue-blind)
#58283C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571b62;
/* rgb */ color: rgb(87, 27, 98);
/* oklch */ color: oklch(35.0% 0.129 321.1);
Tailwind
colors: {
  custom: {
    50: '#895d8f',
    500: '#571b62',
    950: '#000000',
  },
}
SCSS
$custom: #571b62;
$custom-light: #895d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#571b62",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 98
  },
  "hsl": {
    "h": 290.704,
    "s": 56.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34961,
    "c": 0.12927,
    "h": 321.1
  },
  "luminance": 0.03692
}

Semantic roles & 50–950 ramp

primary
#571B62
secondary
#4F9841
accent
#E0485F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #571B62

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

Preview Lab → · Contrast checker → · Palette generator →

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