#571D7C#571D7C

#571D7C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.153 H 308.4°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#571D7C
RGBrgb(87, 29, 124)
HSLhsl(277, 62%, 30%)
HSVhsv(277, 77%, 49%)
CMYKcmyk(29.8%, 76.6%, 0%, 51.4%)
CIE-LABlab(24.83, 43.20, -42.31)
CIE-LCHlch(24.83, 60.47, 315.60°)
OKLaboklab(37.13% 0.0953 -0.1201)
OKLCHoklch(37.13% 0.153 308.4)
XYZxyz(8.0072, 4.3603, 19.4847)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D7C #427C1D
analogous
#281D7C #571D7C #7C1D71
triadic
#571D7C #7C571D #1D7C57
tetradic
#571D7C #7C281D #427C1D #1D717C
square
#571D7C #7C281D #427C1D #1D717C
split-complementary
#571D7C #717C1D #1D7C28
monochromatic
#110619 #34114A #571D7C #7A29AE #9A41D3

Accessibility & contrast

On white

11.22
#571D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#571D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D7C
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D7C#FFFFFF#000000##FFFFFF
##571D7C1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#003C7A
Tritanopia (blue-blind)
#51334B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571d7c;
/* rgb */ color: rgb(87, 29, 124);
/* oklch */ color: oklch(37.1% 0.153 308.4);
Tailwind
colors: {
  custom: {
    50: '#8a5fa3',
    500: '#571d7c',
    950: '#000000',
  },
}
SCSS
$custom: #571d7c;
$custom-light: #8a5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#571d7c",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 276.632,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.3713,
    "c": 0.15327,
    "h": 308.4
  },
  "luminance": 0.0436
}

Semantic roles & 50–950 ramp

primary
#571D7C
secondary
#6FB045
accent
#E54382
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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