#571A88#571A88

#571A88 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.169 H 304.3°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#571A88
RGBrgb(87, 26, 136)
HSLhsl(273, 68%, 32%)
HSVhsv(273, 81%, 53%)
CMYKcmyk(36%, 80.9%, 0%, 46.7%)
CIE-LABlab(25.39, 47.30, -48.95)
CIE-LCHlch(25.39, 68.07, 314.02°)
OKLaboklab(37.83% 0.0952 -0.1396)
OKLCHoklch(37.83% 0.169 304.3)
XYZxyz(8.7428, 4.5426, 23.7040)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A88 #4B881A
analogous
#201A88 #571A88 #881A82
triadic
#571A88 #88571A #1A8857
tetradic
#571A88 #88201A #4B881A #1A8288
square
#571A88 #88201A #4B881A #1A8288
split-complementary
#571A88 #82881A #1A8820
monochromatic
#150621 #361055 #571A88 #7824BB #9742DB

Accessibility & contrast

On white

11.00
#571A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#571A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A88
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A88#FFFFFF#000000##FFFFFF
##571A881.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571a88;
/* rgb */ color: rgb(87, 26, 136);
/* oklch */ color: oklch(37.8% 0.169 304.3);
Tailwind
colors: {
  custom: {
    50: '#8c5fac',
    500: '#571a88',
    950: '#000000',
  },
}
SCSS
$custom: #571a88;
$custom-light: #8c5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#571a88",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 273.273,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37834,
    "c": 0.16894,
    "h": 304.3
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#571A88
secondary
#78BB43
accent
#EB3D8A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571A88

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

Preview Lab → · Contrast checker → · Palette generator →

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