#571A9D#571A9D

#571A9D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.190 H 297.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#571A9D
RGBrgb(87, 26, 157)
HSLhsl(268, 72%, 36%)
HSVhsv(268, 83%, 62%)
CMYKcmyk(44.6%, 83.4%, 0%, 38.4%)
CIE-LABlab(27.29, 52.41, -58.81)
CIE-LCHlch(27.29, 78.77, 311.71°)
OKLaboklab(39.74% 0.0886 -0.1685)
OKLCHoklch(39.74% 0.19 297.7)
XYZxyz(10.3841, 5.1991, 32.3482)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A9D #609D1A
analogous
#1A1E9D #571A9D #981A9D
triadic
#571A9D #9D571A #1A9D57
tetradic
#571A9D #9D1A1E #609D1A #1A9D98
square
#571A9D #9D1A1E #609D1A #1A9D98
split-complementary
#571A9D #9D981A #1E9D1A
monochromatic
#1D0934 #3A1168 #571A9D #7423D2 #944FE2

Accessibility & contrast

On white

10.30
#571A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#571A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A9D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A9D#FFFFFF#000000##FFFFFF
##571A9D1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#44405D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #571a9d;
/* rgb */ color: rgb(87, 26, 157);
/* oklch */ color: oklch(39.7% 0.190 297.7);
Tailwind
colors: {
  custom: {
    50: '#8e60bb',
    500: '#571a9d',
    950: '#000000',
  },
}
SCSS
$custom: #571a9d;
$custom-light: #8e60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#571a9d",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 267.939,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39742,
    "c": 0.19034,
    "h": 297.7
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#571A9D
secondary
#8DC44E
accent
#EE399A
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #571A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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