#571D9F#571D9F

#571D9F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.190 H 296.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#571D9F
RGBrgb(87, 29, 159)
HSLhsl(267, 69%, 37%)
HSVhsv(267, 82%, 62%)
CMYKcmyk(45.3%, 81.8%, 0%, 37.6%)
CIE-LABlab(27.87, 51.79, -59.09)
CIE-LCHlch(27.87, 78.57, 311.23°)
OKLaboklab(40.2% 0.0858 -0.1693)
OKLCHoklch(40.2% 0.19 296.9)
XYZxyz(10.6262, 5.4079, 33.2781)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D9F #659F1D
analogous
#1D249F #571D9F #981D9F
triadic
#571D9F #9F571D #1D9F57
tetradic
#571D9F #9F1D24 #659F1D #1D9F98
square
#571D9F #9F1D24 #659F1D #1D9F98
split-complementary
#571D9F #9F981D #249F1D
monochromatic
#1E0A37 #3B146B #571D9F #7326D3 #9456E0

Accessibility & contrast

On white

10.09
#571D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#571D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D9F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D9F#FFFFFF#000000##FFFFFF
##571D9F1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#43425F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #571d9f;
/* rgb */ color: rgb(87, 29, 159);
/* oklch */ color: oklch(40.2% 0.190 296.9);
Tailwind
colors: {
  custom: {
    50: '#8e61bc',
    500: '#571d9f',
    950: '#000000',
  },
}
SCSS
$custom: #571d9f;
$custom-light: #8e61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#571d9f",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 266.769,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40195,
    "c": 0.18982,
    "h": 296.9
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#571D9F
secondary
#92C454
accent
#EC3C9D
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #571D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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