#571A8F#571A8F

#571A8F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.5% C 0.176 H 301.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#571A8F
RGBrgb(87, 26, 143)
HSLhsl(271, 69%, 33%)
HSVhsv(271, 82%, 56%)
CMYKcmyk(39.2%, 81.8%, 0%, 43.9%)
CIE-LABlab(26.00, 48.99, -52.31)
CIE-LCHlch(26.00, 71.66, 313.12°)
OKLaboklab(38.45% 0.0932 -0.1494)
OKLCHoklch(38.45% 0.176 301.9)
XYZxyz(9.2566, 4.7482, 26.4101)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A8F #528F1A
analogous
#1C1A8F #571A8F #8F1A8C
triadic
#571A8F #8F571A #1A8F57
tetradic
#571A8F #8F1C1A #528F1A #1A8C8F
square
#571A8F #8F1C1A #528F1A #1A8C8F
split-complementary
#571A8F #8C8F1A #1A8F1C
monochromatic
#180727 #37115B #571A8F #7723C3 #9546DD

Accessibility & contrast

On white

10.77
#571A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#571A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A8F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A8F#FFFFFF#000000##FFFFFF
##571A8F1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#4B3A55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #571a8f;
/* rgb */ color: rgb(87, 26, 143);
/* oklch */ color: oklch(38.5% 0.176 301.9);
Tailwind
colors: {
  custom: {
    50: '#8c5fb1',
    500: '#571a8f',
    950: '#000000',
  },
}
SCSS
$custom: #571a8f;
$custom-light: #8c5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#571a8f",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 271.282,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38453,
    "c": 0.17607,
    "h": 301.9
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#571A8F
secondary
#80BF46
accent
#EC3C90
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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