#571B6E#571B6E

#571B6E is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.141 H 314.8°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#571B6E
RGBrgb(87, 27, 110)
HSLhsl(283, 61%, 27%)
HSVhsv(283, 75%, 43%)
CMYKcmyk(20.9%, 75.5%, 0%, 56.9%)
CIE-LABlab(23.46, 40.85, -35.56)
CIE-LCHlch(23.46, 54.16, 318.96°)
OKLaboklab(35.82% 0.0996 -0.1002)
OKLCHoklch(35.82% 0.141 314.8)
XYZxyz(7.1364, 3.9361, 15.1327)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B6E #326E1B
analogous
#2D1B6E #571B6E #6E1B5C
triadic
#571B6E #6E571B #1B6E57
tetradic
#571B6E #6E2D1B #326E1B #1B5C6E
square
#571B6E #6E2D1B #326E1B #1B5C6E
split-complementary
#571B6E #5C6E1B #1B6E2D
monochromatic
#130619 #300F3D #571B6E #7E279F #A436CE

Accessibility & contrast

On white

11.75
#571B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#571B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B6E
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B6E#FFFFFF#000000##FFFFFF
##571B6E1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#18396C
Tritanopia (blue-blind)
#552D43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571b6e;
/* rgb */ color: rgb(87, 27, 110);
/* oklch */ color: oklch(35.8% 0.141 314.8);
Tailwind
colors: {
  custom: {
    50: '#8a5e98',
    500: '#571b6e',
    950: '#000000',
  },
}
SCSS
$custom: #571b6e;
$custom-light: #8a5e98;
$custom-dark: #000000;
JSON
{
  "hex": "#571b6e",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 283.373,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35822,
    "c": 0.14131,
    "h": 314.8
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#571B6E
secondary
#5DA342
accent
#E44470
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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