#571D74#571D74

#571D74 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.5% C 0.145 H 311.8°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#571D74
RGBrgb(87, 29, 116)
HSLhsl(280, 60%, 28%)
HSVhsv(280, 75%, 45%)
CMYKcmyk(25%, 75%, 0%, 54.5%)
CIE-LABlab(24.21, 41.33, -38.21)
CIE-LCHlch(24.21, 56.29, 317.25°)
OKLaboklab(36.5% 0.0966 -0.108)
OKLCHoklch(36.5% 0.145 311.8)
XYZxyz(7.5216, 4.1661, 16.9275)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D74 #3A741D
analogous
#2B1D74 #571D74 #741D65
triadic
#571D74 #74571D #1D7457
tetradic
#571D74 #742B1D #3A741D #1D6574
square
#571D74 #742B1D #3A741D #1D6574
split-complementary
#571D74 #65741D #1D742B
monochromatic
#120618 #321143 #571D74 #7C29A5 #9E3DCE

Accessibility & contrast

On white

11.46
#571D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#571D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D74
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D74#FFFFFF#000000##FFFFFF
##571D741.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#113B72
Tritanopia (blue-blind)
#533046
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571d74;
/* rgb */ color: rgb(87, 29, 116);
/* oklch */ color: oklch(36.5% 0.145 311.8);
Tailwind
colors: {
  custom: {
    50: '#8a5f9d',
    500: '#571d74',
    950: '#000000',
  },
}
SCSS
$custom: #571d74;
$custom-light: #8a5f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#571d74",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 280,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36499,
    "c": 0.14492,
    "h": 311.8
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#571D74
secondary
#66A845
accent
#E34579
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571D74

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

Preview Lab → · Contrast checker → · Palette generator →

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