#571C88#571C88

#571C88 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.167 H 304.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#571C88
RGBrgb(87, 28, 136)
HSLhsl(273, 66%, 32%)
HSVhsv(273, 79%, 53%)
CMYKcmyk(36%, 79.4%, 0%, 46.7%)
CIE-LABlab(25.67, 46.50, -48.50)
CIE-LCHlch(25.67, 67.19, 313.79°)
OKLaboklab(38.03% 0.0935 -0.1383)
OKLCHoklch(38.03% 0.167 304.1)
XYZxyz(8.7886, 4.6343, 23.7193)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C88 #4D881C
analogous
#211C88 #571C88 #881C83
triadic
#571C88 #88571C #1C8857
tetradic
#571C88 #88211C #4D881C #1C8388
square
#571C88 #88211C #4D881C #1C8388
split-complementary
#571C88 #83881C #1C8821
monochromatic
#160722 #371255 #571C88 #7726BB #9646D9

Accessibility & contrast

On white

10.90
#571C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#571C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C88
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C88#FFFFFF#000000##FFFFFF
##571C881.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#4D3851
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571c88;
/* rgb */ color: rgb(87, 28, 136);
/* oklch */ color: oklch(38.0% 0.167 304.1);
Tailwind
colors: {
  custom: {
    50: '#8c5fac',
    500: '#571c88',
    950: '#000000',
  },
}
SCSS
$custom: #571c88;
$custom-light: #8c5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#571c88",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 272.778,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38028,
    "c": 0.16689,
    "h": 304.1
  },
  "luminance": 0.04634
}

Semantic roles & 50–950 ramp

primary
#571C88
secondary
#7ABA45
accent
#E93F8C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571C88

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

Preview Lab → · Contrast checker → · Palette generator →

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