#571E9D#571E9D

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

Color values

HEX#571E9D
RGBrgb(87, 30, 157)
HSLhsl(267, 68%, 37%)
HSVhsv(267, 81%, 62%)
CMYKcmyk(44.6%, 80.9%, 0%, 38.4%)
CIE-LABlab(27.82, 50.89, -57.95)
CIE-LCHlch(27.82, 77.13, 311.29°)
OKLaboklab(40.1% 0.0857 -0.166)
OKLCHoklch(40.1% 0.187 297.3)
XYZxyz(10.4790, 5.3889, 32.3798)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E9D #649D1E
analogous
#1E259D #571E9D #971E9D
triadic
#571E9D #9D571E #1E9D57
tetradic
#571E9D #9D1E25 #649D1E #1E9D97
square
#571E9D #9D1E25 #649D1E #1E9D97
split-complementary
#571E9D #9D971E #259D1E
monochromatic
#1E0A36 #3B146A #571E9D #7328D0 #9457DF

Accessibility & contrast

On white

10.11
#571E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571E9D
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E9D#FFFFFF#000000##FFFFFF
##571E9D1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571e9d;
/* rgb */ color: rgb(87, 30, 157);
/* oklch */ color: oklch(40.1% 0.187 297.3);
Tailwind
colors: {
  custom: {
    50: '#8e62bb',
    500: '#571e9d',
    950: '#000000',
  },
}
SCSS
$custom: #571e9d;
$custom-light: #8e62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#571e9d",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 266.929,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40102,
    "c": 0.18682,
    "h": 297.3
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#571E9D
secondary
#91C254
accent
#EB3D9D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #571E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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