#571C8F#571C8F

#571C8F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.174 H 301.7°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#571C8F
RGBrgb(87, 28, 143)
HSLhsl(271, 67%, 34%)
HSVhsv(271, 80%, 56%)
CMYKcmyk(39.2%, 80.4%, 0%, 43.9%)
CIE-LABlab(26.27, 48.21, -51.87)
CIE-LCHlch(26.27, 70.81, 312.91°)
OKLaboklab(38.64% 0.0916 -0.1481)
OKLCHoklch(38.64% 0.174 301.7)
XYZxyz(9.3025, 4.8399, 26.4254)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C8F #548F1C
analogous
#1E1C8F #571C8F #8F1C8D
triadic
#571C8F #8F571C #1C8F57
tetradic
#571C8F #8F1E1C #548F1C #1C8D8F
square
#571C8F #8F1E1C #548F1C #1C8D8F
split-complementary
#571C8F #8D8F1C #1C8F1E
monochromatic
#190829 #38125C #571C8F #7626C2 #954ADC

Accessibility & contrast

On white

10.67
#571C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#571C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C8F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C8F#FFFFFF#000000##FFFFFF
##571C8F1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571c8f;
/* rgb */ color: rgb(87, 28, 143);
/* oklch */ color: oklch(38.6% 0.174 301.7);
Tailwind
colors: {
  custom: {
    50: '#8c60b1',
    500: '#571c8f',
    950: '#000000',
  },
}
SCSS
$custom: #571c8f;
$custom-light: #8c60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#571c8f",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 270.783,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3864,
    "c": 0.17414,
    "h": 301.7
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#571C8F
secondary
#82BE49
accent
#EA3E92
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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