#571B8A#571B8A

#571B8A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.170 H 303.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#571B8A
RGBrgb(87, 27, 138)
HSLhsl(272, 67%, 32%)
HSVhsv(272, 80%, 54%)
CMYKcmyk(37%, 80.4%, 0%, 45.9%)
CIE-LABlab(25.70, 47.39, -49.70)
CIE-LCHlch(25.70, 68.67, 313.64°)
OKLaboklab(38.1% 0.0938 -0.1417)
OKLCHoklch(38.1% 0.17 303.5)
XYZxyz(8.9088, 4.6451, 24.4671)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B8A #4E8A1B
analogous
#1F1B8A #571B8A #8A1B86
triadic
#571B8A #8A571B #1B8A57
tetradic
#571B8A #8A1F1B #4E8A1B #1B868A
square
#571B8A #8A1F1B #4E8A1B #1B868A
split-complementary
#571B8A #868A1B #1B8A1F
monochromatic
#160724 #371157 #571B8A #7725BD #9645DB

Accessibility & contrast

On white

10.89
#571B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571B8A
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B8A#FFFFFF#000000##FFFFFF
##571B8A1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#4D3952
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571b8a;
/* rgb */ color: rgb(87, 27, 138);
/* oklch */ color: oklch(38.1% 0.170 303.5);
Tailwind
colors: {
  custom: {
    50: '#8c5fad',
    500: '#571b8a',
    950: '#000000',
  },
}
SCSS
$custom: #571b8a;
$custom-light: #8c5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#571b8a",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 272.432,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38103,
    "c": 0.16998,
    "h": 303.5
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#571B8A
secondary
#7CBC45
accent
#EA3E8D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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