#571B88#571B88

#571B88 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.168 H 304.2°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#571B88
RGBrgb(87, 27, 136)
HSLhsl(273, 67%, 32%)
HSVhsv(273, 80%, 53%)
CMYKcmyk(36%, 80.1%, 0%, 46.7%)
CIE-LABlab(25.53, 46.91, -48.73)
CIE-LCHlch(25.53, 67.64, 313.91°)
OKLaboklab(37.93% 0.0944 -0.1389)
OKLCHoklch(37.93% 0.168 304.2)
XYZxyz(8.7653, 4.5877, 23.7115)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B88 #4C881B
analogous
#211B88 #571B88 #881B82
triadic
#571B88 #88571B #1B8857
tetradic
#571B88 #88211B #4C881B #1B8288
square
#571B88 #88211B #4C881B #1B8288
split-complementary
#571B88 #82881B #1B8821
monochromatic
#160722 #361155 #571B88 #7825BB #9644DA

Accessibility & contrast

On white

10.95
#571B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#571B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B88
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B88#FFFFFF#000000##FFFFFF
##571B881.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#4D3851
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571b88;
/* rgb */ color: rgb(87, 27, 136);
/* oklch */ color: oklch(37.9% 0.168 304.2);
Tailwind
colors: {
  custom: {
    50: '#8c5fac',
    500: '#571b88',
    950: '#000000',
  },
}
SCSS
$custom: #571b88;
$custom-light: #8c5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#571b88",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 273.028,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37929,
    "c": 0.16793,
    "h": 304.2
  },
  "luminance": 0.04588
}

Semantic roles & 50–950 ramp

primary
#571B88
secondary
#79BB44
accent
#EA3E8B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571B88

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

Preview Lab → · Contrast checker → · Palette generator →

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