#571E82#571E82

#571E82 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.158 H 306.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#571E82
RGBrgb(87, 30, 130)
HSLhsl(274, 63%, 31%)
HSVhsv(274, 77%, 51%)
CMYKcmyk(33.1%, 76.9%, 0%, 49%)
CIE-LABlab(25.46, 44.20, -45.07)
CIE-LCHlch(25.46, 63.13, 314.44°)
OKLaboklab(37.73% 0.093 -0.1282)
OKLCHoklch(37.73% 0.158 306)
XYZxyz(8.4231, 4.5666, 21.5525)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E82 #49821E
analogous
#251E82 #571E82 #821E7B
triadic
#571E82 #82571E #1E8257
tetradic
#571E82 #82251E #49821E #1E7B82
square
#571E82 #82251E #49821E #1E7B82
split-complementary
#571E82 #7B821E #1E8225
monochromatic
#14071F #361350 #571E82 #7829B4 #9746D4

Accessibility & contrast

On white

10.98
#571E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571E82
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E82#FFFFFF#000000##FFFFFF
##571E821.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#4F374F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571e82;
/* rgb */ color: rgb(87, 30, 130);
/* oklch */ color: oklch(37.7% 0.158 306.0);
Tailwind
colors: {
  custom: {
    50: '#8b60a7',
    500: '#571e82',
    950: '#000000',
  },
}
SCSS
$custom: #571e82;
$custom-light: #8b60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#571e82",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 274.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37728,
    "c": 0.15839,
    "h": 306
  },
  "luminance": 0.04566
}

Semantic roles & 50–950 ramp

primary
#571E82
secondary
#76B547
accent
#E64288
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571E82

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

Preview Lab → · Contrast checker → · Palette generator →

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