#571C9D#571C9D

#571C9D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.189 H 297.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#571C9D
RGBrgb(87, 28, 157)
HSLhsl(267, 70%, 36%)
HSVhsv(267, 82%, 62%)
CMYKcmyk(44.6%, 82.2%, 0%, 38.4%)
CIE-LABlab(27.55, 51.67, -58.39)
CIE-LCHlch(27.55, 77.97, 311.51°)
OKLaboklab(39.92% 0.0872 -0.1673)
OKLCHoklch(39.92% 0.189 297.5)
XYZxyz(10.4299, 5.2909, 32.3635)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C9D #629D1C
analogous
#1C219D #571C9D #981C9D
triadic
#571C9D #9D571C #1C9D57
tetradic
#571C9D #9D1C21 #629D1C #1C9D98
square
#571C9D #9D1C21 #629D1C #1C9D98
split-complementary
#571C9D #9D981C #219D1C
monochromatic
#1D0935 #3A1369 #571C9D #7425D1 #9453E0

Accessibility & contrast

On white

10.20
#571C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#571C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C9D
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C9D#FFFFFF#000000##FFFFFF
##571C9D1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#44415E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #571c9d;
/* rgb */ color: rgb(87, 28, 157);
/* oklch */ color: oklch(39.9% 0.189 297.5);
Tailwind
colors: {
  custom: {
    50: '#8e61bb',
    500: '#571c9d',
    950: '#000000',
  },
}
SCSS
$custom: #571c9d;
$custom-light: #8e61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#571c9d",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 267.442,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39917,
    "c": 0.18863,
    "h": 297.5
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#571C9D
secondary
#8FC351
accent
#ED3B9B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #571C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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