#571B7D#571B7D

#571B7D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.157 H 308.3°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#571B7D
RGBrgb(87, 27, 125)
HSLhsl(277, 64%, 30%)
HSVhsv(277, 78%, 49%)
CMYKcmyk(30.4%, 78.4%, 0%, 51%)
CIE-LABlab(24.61, 44.29, -43.30)
CIE-LCHlch(24.61, 61.94, 315.65°)
OKLaboklab(37% 0.097 -0.1229)
OKLCHoklch(37% 0.157 308.3)
XYZxyz(8.0233, 4.2909, 19.8036)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B7D #417D1B
analogous
#261B7D #571B7D #7D1B72
triadic
#571B7D #7D571B #1B7D57
tetradic
#571B7D #7D261B #417D1B #1B727D
square
#571B7D #7D261B #417D1B #1B727D
split-complementary
#571B7D #727D1B #1B7D26
monochromatic
#120519 #34104B #571B7D #7A26AF #9A3DD5

Accessibility & contrast

On white

11.30
#571B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#571B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B7D
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B7D#FFFFFF#000000##FFFFFF
##571B7D1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#51334B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571b7d;
/* rgb */ color: rgb(87, 27, 125);
/* oklch */ color: oklch(37.0% 0.157 308.3);
Tailwind
colors: {
  custom: {
    50: '#8b5ea3',
    500: '#571b7d',
    950: '#000000',
  },
}
SCSS
$custom: #571b7d;
$custom-light: #8b5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#571b7d",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 276.735,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37001,
    "c": 0.15663,
    "h": 308.3
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#571B7D
secondary
#6EB143
accent
#E74081
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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