#571F8F#571F8F

#571F8F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.171 H 301.3°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#571F8F
RGBrgb(87, 31, 143)
HSLhsl(270, 64%, 34%)
HSVhsv(270, 78%, 56%)
CMYKcmyk(39.2%, 78.3%, 0%, 43.9%)
CIE-LABlab(26.70, 46.97, -51.16)
CIE-LCHlch(26.70, 69.45, 312.55°)
OKLaboklab(38.94% 0.089 -0.1461)
OKLCHoklch(38.94% 0.171 301.3)
XYZxyz(9.3772, 4.9893, 26.4503)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F8F #578F1F
analogous
#1F1F8F #571F8F #8F1F8F
triadic
#571F8F #8F571F #1F8F57
tetradic
#571F8F #8F1F1F #578F1F #1F8F8F
square
#571F8F #8F1F1F #578F1F #1F8F8F
split-complementary
#571F8F #8F8F1F #1F8F1F
monochromatic
#1A092A #38145D #571F8F #762AC1 #944FD9

Accessibility & contrast

On white

10.51
#571F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#571F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F8F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F8F#FFFFFF#000000##FFFFFF
##571F8F1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#4B3C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #571f8f;
/* rgb */ color: rgb(87, 31, 143);
/* oklch */ color: oklch(38.9% 0.171 301.3);
Tailwind
colors: {
  custom: {
    50: '#8c61b1',
    500: '#571f8f',
    950: '#000000',
  },
}
SCSS
$custom: #571f8f;
$custom-light: #8c61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#571f8f",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 270,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38941,
    "c": 0.17105,
    "h": 301.3
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#571F8F
secondary
#85BC4E
accent
#E74094
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #571F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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