#571C74#571C74

#571C74 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.146 H 311.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#571C74
RGBrgb(87, 28, 116)
HSLhsl(280, 61%, 28%)
HSVhsv(280, 76%, 45%)
CMYKcmyk(25%, 75.9%, 0%, 54.5%)
CIE-LABlab(24.06, 41.77, -38.46)
CIE-LCHlch(24.06, 56.78, 317.37°)
OKLaboklab(36.39% 0.0977 -0.1087)
OKLCHoklch(36.39% 0.146 311.9)
XYZxyz(7.4975, 4.1179, 16.9195)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C74 #39741C
analogous
#2B1C74 #571C74 #741C65
triadic
#571C74 #74571C #1C7457
tetradic
#571C74 #742B1C #39741C #1C6574
square
#571C74 #742B1C #39741C #1C6574
split-complementary
#571C74 #65741C #1C742B
monochromatic
#120619 #321043 #571C74 #7C28A5 #9F3BD0

Accessibility & contrast

On white

11.52
#571C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#571C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C74
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C74#FFFFFF#000000##FFFFFF
##571C741.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#103A72
Tritanopia (blue-blind)
#533046
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571c74;
/* rgb */ color: rgb(87, 28, 116);
/* oklch */ color: oklch(36.4% 0.146 311.9);
Tailwind
colors: {
  custom: {
    50: '#8a5e9d',
    500: '#571c74',
    950: '#000000',
  },
}
SCSS
$custom: #571c74;
$custom-light: #8a5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#571c74",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 280.227,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36389,
    "c": 0.14618,
    "h": 311.9
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#571C74
secondary
#65A843
accent
#E44479
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571C74

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

Preview Lab → · Contrast checker → · Palette generator →

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