#571A6C#571A6C

#571A6C is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.141 H 315.9°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#571A6C
RGBrgb(87, 26, 108)
HSLhsl(285, 61%, 26%)
HSVhsv(285, 76%, 42%)
CMYKcmyk(19.4%, 75.9%, 0%, 57.6%)
CIE-LABlab(23.16, 40.84, -34.75)
CIE-LCHlch(23.16, 53.62, 319.61°)
OKLaboklab(35.57% 0.1009 -0.0978)
OKLCHoklch(35.57% 0.141 315.9)
XYZxyz(7.0062, 3.8480, 14.5581)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A6C #2F6C1A
analogous
#2E1A6C #571A6C #6C1A58
triadic
#571A6C #6C571A #1A6C57
tetradic
#571A6C #6C2E1A #2F6C1A #1A586C
square
#571A6C #6C2E1A #2F6C1A #1A586C
split-complementary
#571A6C #586C1A #1A6C2E
monochromatic
#140619 #2F0E3B #571A6C #7F269D #A633CE

Accessibility & contrast

On white

11.87
#571A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#571A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A6C
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A6C#FFFFFF#000000##FFFFFF
##571A6C1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#19396A
Tritanopia (blue-blind)
#562B41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571a6c;
/* rgb */ color: rgb(87, 26, 108);
/* oklch */ color: oklch(35.6% 0.141 315.9);
Tailwind
colors: {
  custom: {
    50: '#8a5d97',
    500: '#571a6c',
    950: '#000000',
  },
}
SCSS
$custom: #571a6c;
$custom-light: #8a5d97;
$custom-dark: #000000;
JSON
{
  "hex": "#571a6c",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 108
  },
  "hsl": {
    "h": 284.634,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35565,
    "c": 0.14057,
    "h": 315.9
  },
  "luminance": 0.03848
}

Semantic roles & 50–950 ramp

primary
#571A6C
secondary
#59A141
accent
#E4436D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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