#571B6F#571B6F

#571B6F is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.9% C 0.142 H 314.3°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#571B6F
RGBrgb(87, 27, 111)
HSLhsl(283, 61%, 27%)
HSVhsv(283, 76%, 44%)
CMYKcmyk(21.6%, 75.7%, 0%, 56.5%)
CIE-LABlab(23.53, 41.08, -36.09)
CIE-LCHlch(23.53, 54.68, 318.70°)
OKLaboklab(35.9% 0.0995 -0.1018)
OKLCHoklch(35.9% 0.142 314.3)
XYZxyz(7.1912, 3.9580, 15.4210)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B6F #336F1B
analogous
#2D1B6F #571B6F #6F1B5D
triadic
#571B6F #6F571B #1B6F57
tetradic
#571B6F #6F2D1B #336F1B #1B5D6F
square
#571B6F #6F2D1B #336F1B #1B5D6F
split-complementary
#571B6F #5D6F1B #1B6F2D
monochromatic
#130619 #300F3E #571B6F #7E27A0 #A336CE

Accessibility & contrast

On white

11.72
#571B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571B6F
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B6F#FFFFFF#000000##FFFFFF
##571B6F1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#16396D
Tritanopia (blue-blind)
#552D43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571b6f;
/* rgb */ color: rgb(87, 27, 111);
/* oklch */ color: oklch(35.9% 0.142 314.3);
Tailwind
colors: {
  custom: {
    50: '#8a5e99',
    500: '#571b6f',
    950: '#000000',
  },
}
SCSS
$custom: #571b6f;
$custom-light: #8a5e99;
$custom-dark: #000000;
JSON
{
  "hex": "#571b6f",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 282.857,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35897,
    "c": 0.14232,
    "h": 314.3
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#571B6F
secondary
#5EA442
accent
#E44472
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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