#571A74#571A74

#571A74 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.149 H 312.2°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#571A74
RGBrgb(87, 26, 116)
HSLhsl(281, 63%, 28%)
HSVhsv(281, 78%, 45%)
CMYKcmyk(25%, 77.6%, 0%, 54.5%)
CIE-LABlab(23.76, 42.63, -38.94)
CIE-LCHlch(23.76, 57.74, 317.59°)
OKLaboklab(36.18% 0.0998 -0.1101)
OKLCHoklch(36.18% 0.149 312.2)
XYZxyz(7.4517, 4.0262, 16.9042)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A74 #37741A
analogous
#2A1A74 #571A74 #741A64
triadic
#571A74 #74571A #1A7457
tetradic
#571A74 #742A1A #37741A #1A6474
square
#571A74 #742A1A #37741A #1A6474
split-complementary
#571A74 #64741A #1A742A
monochromatic
#130619 #320F42 #571A74 #7C25A6 #A036D2

Accessibility & contrast

On white

11.63
#571A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#571A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A74
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A74#FFFFFF#000000##FFFFFF
##571A741.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#0D3A72
Tritanopia (blue-blind)
#542F46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571a74;
/* rgb */ color: rgb(87, 26, 116);
/* oklch */ color: oklch(36.2% 0.149 312.2);
Tailwind
colors: {
  custom: {
    50: '#8a5d9d',
    500: '#571a74',
    950: '#000000',
  },
}
SCSS
$custom: #571a74;
$custom-light: #8a5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#571a74",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 280.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36176,
    "c": 0.14862,
    "h": 312.2
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#571A74
secondary
#62A941
accent
#E64177
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571A74

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

Preview Lab → · Contrast checker → · Palette generator →

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