#571D7E#571D7E

#571D7E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.155 H 307.6°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#571D7E
RGBrgb(87, 29, 126)
HSLhsl(276, 63%, 30%)
HSVhsv(276, 77%, 49%)
CMYKcmyk(31%, 77%, 0%, 50.6%)
CIE-LABlab(24.99, 43.68, -43.32)
CIE-LCHlch(24.99, 61.52, 315.24°)
OKLaboklab(37.29% 0.0949 -0.123)
OKLCHoklch(37.29% 0.155 307.6)
XYZxyz(8.1349, 4.4114, 20.1576)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D7E #447E1D
analogous
#261D7E #571D7E #7E1D75
triadic
#571D7E #7E571D #1D7E57
tetradic
#571D7E #7E261D #447E1D #1D757E
square
#571D7E #7E261D #447E1D #1D757E
split-complementary
#571D7E #757E1D #1D7E26
monochromatic
#12061B #35124C #571D7E #7928B0 #9942D3

Accessibility & contrast

On white

11.16
#571D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#571D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D7E
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D7E#FFFFFF#000000##FFFFFF
##571D7E1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#51344C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571d7e;
/* rgb */ color: rgb(87, 29, 126);
/* oklch */ color: oklch(37.3% 0.155 307.6);
Tailwind
colors: {
  custom: {
    50: '#8b5fa4',
    500: '#571d7e',
    950: '#000000',
  },
}
SCSS
$custom: #571d7e;
$custom-light: #8b5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#571d7e",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 275.876,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37292,
    "c": 0.15535,
    "h": 307.6
  },
  "luminance": 0.04411
}

Semantic roles & 50–950 ramp

primary
#571D7E
secondary
#71B145
accent
#E64284
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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