#571B74#571B74

#571B74 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.3% C 0.147 H 312.1°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#571B74
RGBrgb(87, 27, 116)
HSLhsl(280, 62%, 28%)
HSVhsv(280, 77%, 45%)
CMYKcmyk(25%, 76.7%, 0%, 54.5%)
CIE-LABlab(23.91, 42.21, -38.70)
CIE-LCHlch(23.91, 57.27, 317.48°)
OKLaboklab(36.28% 0.0988 -0.1094)
OKLCHoklch(36.28% 0.147 312.1)
XYZxyz(7.4742, 4.0713, 16.9117)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B74 #38741B
analogous
#2A1B74 #571B74 #741B64
triadic
#571B74 #74571B #1B7457
tetradic
#571B74 #742A1B #38741B #1B6474
square
#571B74 #742A1B #38741B #1B6474
split-complementary
#571B74 #64741B #1B742A
monochromatic
#130619 #320F42 #571B74 #7C27A6 #9F39D1

Accessibility & contrast

On white

11.58
#571B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571B74
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B74#FFFFFF#000000##FFFFFF
##571B741.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571b74;
/* rgb */ color: rgb(87, 27, 116);
/* oklch */ color: oklch(36.3% 0.147 312.1);
Tailwind
colors: {
  custom: {
    50: '#8a5e9d',
    500: '#571b74',
    950: '#000000',
  },
}
SCSS
$custom: #571b74;
$custom-light: #8a5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#571b74",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 280.449,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36281,
    "c": 0.14741,
    "h": 312.1
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#571B74
secondary
#64A942
accent
#E54278
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571B74

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

Preview Lab → · Contrast checker → · Palette generator →

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