#571D8F#571D8F

#571D8F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.173 H 301.6°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#571D8F
RGBrgb(87, 29, 143)
HSLhsl(271, 66%, 34%)
HSVhsv(271, 80%, 56%)
CMYKcmyk(39.2%, 79.7%, 0%, 43.9%)
CIE-LABlab(26.41, 47.80, -51.64)
CIE-LCHlch(26.41, 70.37, 312.79°)
OKLaboklab(38.74% 0.0907 -0.1475)
OKLCHoklch(38.74% 0.173 301.6)
XYZxyz(9.3266, 4.8881, 26.4334)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D8F #558F1D
analogous
#1E1D8F #571D8F #8F1D8E
triadic
#571D8F #8F571D #1D8F57
tetradic
#571D8F #8F1E1D #558F1D #1D8E8F
square
#571D8F #8F1E1D #558F1D #1D8E8F
split-complementary
#571D8F #8E8F1D #1D8F1E
monochromatic
#190829 #38135C #571D8F #7627C2 #944CDB

Accessibility & contrast

On white

10.62
#571D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#571D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D8F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D8F#FFFFFF#000000##FFFFFF
##571D8F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#4B3C56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #571d8f;
/* rgb */ color: rgb(87, 29, 143);
/* oklch */ color: oklch(38.7% 0.173 301.6);
Tailwind
colors: {
  custom: {
    50: '#8c60b1',
    500: '#571d8f',
    950: '#000000',
  },
}
SCSS
$custom: #571d8f;
$custom-light: #8c60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#571d8f",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 270.526,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38738,
    "c": 0.17313,
    "h": 301.6
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#571D8F
secondary
#83BD4B
accent
#E93F92
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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