#571B85#571B85

#571B85 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.165 H 305.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#571B85
RGBrgb(87, 27, 133)
HSLhsl(274, 66%, 31%)
HSVhsv(274, 80%, 52%)
CMYKcmyk(34.6%, 79.7%, 0%, 47.8%)
CIE-LABlab(25.27, 46.19, -47.27)
CIE-LCHlch(25.27, 66.09, 314.34°)
OKLaboklab(37.67% 0.0952 -0.1346)
OKLCHoklch(37.67% 0.165 305.3)
XYZxyz(8.5551, 4.5036, 22.6043)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B85 #49851B
analogous
#221B85 #571B85 #851B7E
triadic
#571B85 #85571B #1B8557
tetradic
#571B85 #85221B #49851B #1B7E85
square
#571B85 #85221B #49851B #1B7E85
split-complementary
#571B85 #7E851B #1B8522
monochromatic
#14061F #361152 #571B85 #7825B8 #9742D9

Accessibility & contrast

On white

11.05
#571B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571B85
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B85#FFFFFF#000000##FFFFFF
##571B851.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571b85;
/* rgb */ color: rgb(87, 27, 133);
/* oklch */ color: oklch(37.7% 0.165 305.3);
Tailwind
colors: {
  custom: {
    50: '#8b5fa9',
    500: '#571b85',
    950: '#000000',
  },
}
SCSS
$custom: #571b85;
$custom-light: #8b5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#571b85",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 273.962,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37671,
    "c": 0.16484,
    "h": 305.3
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#571B85
secondary
#76B844
accent
#E93F89
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571B85

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

Preview Lab → · Contrast checker → · Palette generator →

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