#571C7D#571C7D

#571C7D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.155 H 308.2°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#571C7D
RGBrgb(87, 28, 125)
HSLhsl(276, 63%, 30%)
HSVhsv(276, 78%, 49%)
CMYKcmyk(30.4%, 77.6%, 0%, 51%)
CIE-LABlab(24.76, 43.87, -43.06)
CIE-LCHlch(24.76, 61.47, 315.53°)
OKLaboklab(37.1% 0.0961 -0.1222)
OKLCHoklch(37.1% 0.155 308.2)
XYZxyz(8.0466, 4.3375, 19.8114)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C7D #427D1C
analogous
#271C7D #571C7D #7D1C72
triadic
#571C7D #7D571C #1C7D57
tetradic
#571C7D #7D271C #427D1C #1C727D
square
#571C7D #7D271C #427D1C #1C727D
split-complementary
#571C7D #727D1C #1C7D27
monochromatic
#110619 #34114B #571C7D #7A27AF #9A3FD4

Accessibility & contrast

On white

11.25
#571C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#571C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C7D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C7D#FFFFFF#000000##FFFFFF
##571C7D1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#51334B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571c7d;
/* rgb */ color: rgb(87, 28, 125);
/* oklch */ color: oklch(37.1% 0.155 308.2);
Tailwind
colors: {
  custom: {
    50: '#8b5fa3',
    500: '#571c7d',
    950: '#000000',
  },
}
SCSS
$custom: #571c7d;
$custom-light: #8b5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#571c7d",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 276.495,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.37105,
    "c": 0.15548,
    "h": 308.2
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#571C7D
secondary
#6FB144
accent
#E64182
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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