#571C7F#571C7F

#571C7F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.158 H 307.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#571C7F
RGBrgb(87, 28, 127)
HSLhsl(276, 64%, 30%)
HSVhsv(276, 78%, 50%)
CMYKcmyk(31.5%, 78%, 0%, 50.2%)
CIE-LABlab(24.92, 44.34, -44.06)
CIE-LCHlch(24.92, 62.51, 315.18°)
OKLaboklab(37.27% 0.0956 -0.1252)
OKLCHoklch(37.27% 0.158 307.4)
XYZxyz(8.1757, 4.3892, 20.4911)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C7F #447F1C
analogous
#261C7F #571C7F #7F1C75
triadic
#571C7F #7F571C #1C7F57
tetradic
#571C7F #7F261C #447F1C #1C757F
square
#571C7F #7F261C #447F1C #1C757F
split-complementary
#571C7F #757F1C #1C7F26
monochromatic
#12061B #35114D #571C7F #7927B1 #9940D5

Accessibility & contrast

On white

11.18
#571C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#571C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C7F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C7F#FFFFFF#000000##FFFFFF
##571C7F1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#50344C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571c7f;
/* rgb */ color: rgb(87, 28, 127);
/* oklch */ color: oklch(37.3% 0.158 307.4);
Tailwind
colors: {
  custom: {
    50: '#8b5fa5',
    500: '#571c7f',
    950: '#000000',
  },
}
SCSS
$custom: #571c7f;
$custom-light: #8b5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#571c7f",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 275.758,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37269,
    "c": 0.15755,
    "h": 307.4
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#571C7F
secondary
#71B344
accent
#E74184
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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