#571B84#571B84

#571B84 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.164 H 305.6°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#571B84
RGBrgb(87, 27, 132)
HSLhsl(274, 66%, 31%)
HSVhsv(274, 80%, 52%)
CMYKcmyk(34.1%, 79.5%, 0%, 48.2%)
CIE-LABlab(25.19, 45.95, -46.78)
CIE-LCHlch(25.19, 65.57, 314.49°)
OKLaboklab(37.59% 0.0954 -0.1332)
OKLCHoklch(37.59% 0.164 305.6)
XYZxyz(8.4863, 4.4761, 22.2422)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B84 #48841B
analogous
#221B84 #571B84 #841B7C
triadic
#571B84 #84571B #1B8457
tetradic
#571B84 #84221B #48841B #1B7C84
square
#571B84 #84221B #48841B #1B7C84
split-complementary
#571B84 #7C841B #1B8422
monochromatic
#14061E #361151 #571B84 #7825B7 #9741D8

Accessibility & contrast

On white

11.08
#571B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#571B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B84
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B84#FFFFFF#000000##FFFFFF
##571B841.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#4F364F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571b84;
/* rgb */ color: rgb(87, 27, 132);
/* oklch */ color: oklch(37.6% 0.164 305.6);
Tailwind
colors: {
  custom: {
    50: '#8b5fa9',
    500: '#571b84',
    950: '#000000',
  },
}
SCSS
$custom: #571b84;
$custom-light: #8b5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#571b84",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 274.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37586,
    "c": 0.16382,
    "h": 305.6
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#571B84
secondary
#75B743
accent
#E93F88
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571B84

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

Preview Lab → · Contrast checker → · Palette generator →

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