#571A97#571A97

#571A97 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.184 H 299.5°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#571A97
RGBrgb(87, 26, 151)
HSLhsl(269, 71%, 35%)
HSVhsv(269, 83%, 59%)
CMYKcmyk(42.4%, 82.8%, 0%, 40.8%)
CIE-LABlab(26.73, 50.94, -56.05)
CIE-LCHlch(26.73, 75.74, 312.26°)
OKLaboklab(39.18% 0.0906 -0.1604)
OKLCHoklch(39.18% 0.184 299.5)
XYZxyz(9.8844, 4.9993, 29.7163)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A97 #5A971A
analogous
#1A1C97 #571A97 #961A97
triadic
#571A97 #97571A #1A9757
tetradic
#571A97 #971A1C #5A971A #1A9796
square
#571A97 #971A1C #5A971A #1A9796
split-complementary
#571A97 #97961A #1C971A
monochromatic
#1B082F #391163 #571A97 #7523CB #944BE0

Accessibility & contrast

On white

10.50
#571A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#571A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A97
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A97#FFFFFF#000000##FFFFFF
##571A971.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#473E5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #571a97;
/* rgb */ color: rgb(87, 26, 151);
/* oklch */ color: oklch(39.2% 0.184 299.5);
Tailwind
colors: {
  custom: {
    50: '#8d5fb7',
    500: '#571a97',
    950: '#000000',
  },
}
SCSS
$custom: #571a97;
$custom-light: #8d5fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#571a97",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 269.28,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39181,
    "c": 0.18422,
    "h": 299.5
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#571A97
secondary
#88C24B
accent
#ED3A96
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571A97

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

Preview Lab → · Contrast checker → · Palette generator →

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