#571A85#571A85

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

Color values

HEX#571A85
RGBrgb(87, 26, 133)
HSLhsl(274, 67%, 31%)
HSVhsv(274, 80%, 52%)
CMYKcmyk(34.6%, 80.5%, 0%, 47.8%)
CIE-LABlab(25.13, 46.59, -47.49)
CIE-LCHlch(25.13, 66.53, 314.45°)
OKLaboklab(37.57% 0.096 -0.1353)
OKLCHoklch(37.57% 0.166 305.4)
XYZxyz(8.5326, 4.4585, 22.5968)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A85 #48851A
analogous
#211A85 #571A85 #851A7D
triadic
#571A85 #85571A #1A8557
tetradic
#571A85 #85211A #48851A #1A7D85
square
#571A85 #85211A #48851A #1A7D85
split-complementary
#571A85 #7D851A #1A8521
monochromatic
#14061F #361052 #571A85 #7824B8 #9740DA

Accessibility & contrast

On white

11.10
#571A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#571A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A85
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A85#FFFFFF#000000##FFFFFF
##571A851.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#4E364F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571a85;
/* rgb */ color: rgb(87, 26, 133);
/* oklch */ color: oklch(37.6% 0.166 305.4);
Tailwind
colors: {
  custom: {
    50: '#8b5ea9',
    500: '#571a85',
    950: '#000000',
  },
}
SCSS
$custom: #571a85;
$custom-light: #8b5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#571a85",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 274.206,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37575,
    "c": 0.16588,
    "h": 305.4
  },
  "luminance": 0.04458
}

Semantic roles & 50–950 ramp

primary
#571A85
secondary
#75B842
accent
#EA3E88
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571A85

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

Preview Lab → · Contrast checker → · Palette generator →

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