#571AA1#571AA1

#571AA1 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.1% C 0.194 H 296.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#571AA1
RGBrgb(87, 26, 161)
HSLhsl(267, 72%, 37%)
HSVhsv(267, 84%, 63%)
CMYKcmyk(46%, 83.9%, 0%, 36.9%)
CIE-LABlab(27.68, 53.40, -60.62)
CIE-LCHlch(27.68, 80.78, 311.38°)
OKLaboklab(40.12% 0.0872 -0.1738)
OKLCHoklch(40.12% 0.194 296.6)
XYZxyz(10.7312, 5.3380, 34.1762)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571AA1 #64A11A
analogous
#1A21A1 #571AA1 #9B1AA1
triadic
#571AA1 #A1571A #1AA157
tetradic
#571AA1 #A11A21 #64A11A #1AA19B
square
#571AA1 #A11A21 #64A11A #1AA19B
split-complementary
#571AA1 #A19B1A #21A11A
monochromatic
#1E0938 #3B116C #571AA1 #7323D6 #9452E3

Accessibility & contrast

On white

10.16
#571AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571AA1
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571AA1#FFFFFF#000000##FFFFFF
##571AA11.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#424260
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #571aa1;
/* rgb */ color: rgb(87, 26, 161);
/* oklch */ color: oklch(40.1% 0.194 296.6);
Tailwind
colors: {
  custom: {
    50: '#8e60be',
    500: '#571aa1',
    950: '#000000',
  },
}
SCSS
$custom: #571aa1;
$custom-light: #8e60be;
$custom-dark: #000000;
JSON
{
  "hex": "#571aa1",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 267.111,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40121,
    "c": 0.19441,
    "h": 296.6
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#571AA1
secondary
#91C651
accent
#EF399D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #571AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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