#571D91#571D91

#571D91 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.175 H 301.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#571D91
RGBrgb(87, 29, 145)
HSLhsl(270, 67%, 34%)
HSVhsv(270, 80%, 57%)
CMYKcmyk(40%, 80%, 0%, 43.1%)
CIE-LABlab(26.59, 48.30, -52.59)
CIE-LCHlch(26.59, 71.40, 312.56°)
OKLaboklab(38.92% 0.0901 -0.1503)
OKLCHoklch(38.92% 0.175 301)
XYZxyz(9.4794, 4.9492, 27.2385)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D91 #57911D
analogous
#1D1D91 #571D91 #911D91
triadic
#571D91 #91571D #1D9157
tetradic
#571D91 #911D1D #57911D #1D9191
square
#571D91 #911D1D #57911D #1D9191
split-complementary
#571D91 #91911D #1D911D
monochromatic
#1A092B #38135E #571D91 #7627C4 #944DDB

Accessibility & contrast

On white

10.55
#571D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#571D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D91
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D91#FFFFFF#000000##FFFFFF
##571D911.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#4A3C57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #571d91;
/* rgb */ color: rgb(87, 29, 145);
/* oklch */ color: oklch(38.9% 0.175 301.0);
Tailwind
colors: {
  custom: {
    50: '#8c60b2',
    500: '#571d91',
    950: '#000000',
  },
}
SCSS
$custom: #571d91;
$custom-light: #8c60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#571d91",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 270,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38915,
    "c": 0.17522,
    "h": 301
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#571D91
secondary
#85BE4C
accent
#EA3E94
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571D91

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

Preview Lab → · Contrast checker → · Palette generator →

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