#571D9E#571D9E

#571D9E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.189 H 297.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#571D9E
RGBrgb(87, 29, 158)
HSLhsl(267, 69%, 37%)
HSVhsv(267, 82%, 62%)
CMYKcmyk(44.9%, 81.6%, 0%, 38%)
CIE-LABlab(27.77, 51.54, -58.63)
CIE-LCHlch(27.77, 78.06, 311.32°)
OKLaboklab(40.1% 0.0861 -0.168)
OKLCHoklch(40.1% 0.189 297.1)
XYZxyz(10.5398, 5.3734, 32.8230)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D9E #649E1D
analogous
#1D239E #571D9E #981D9E
triadic
#571D9E #9E571D #1D9E57
tetradic
#571D9E #9E1D23 #649E1D #1D9E98
square
#571D9E #9E1D23 #649E1D #1D9E98
split-complementary
#571D9E #9E981D #239E1D
monochromatic
#1E0A37 #3B146A #571D9E #7326D2 #9456E0

Accessibility & contrast

On white

10.12
#571D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#571D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D9E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D9E#FFFFFF#000000##FFFFFF
##571D9E1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#44425E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #571d9e;
/* rgb */ color: rgb(87, 29, 158);
/* oklch */ color: oklch(40.1% 0.189 297.1);
Tailwind
colors: {
  custom: {
    50: '#8e61bc',
    500: '#571d9e',
    950: '#000000',
  },
}
SCSS
$custom: #571d9e;
$custom-light: #8e61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#571d9e",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 266.977,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40101,
    "c": 0.18877,
    "h": 297.1
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#571D9E
secondary
#91C354
accent
#EC3C9D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #571D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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