#571C87#571C87

#571C87 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.166 H 304.4°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#571C87
RGBrgb(87, 28, 135)
HSLhsl(273, 66%, 32%)
HSVhsv(273, 79%, 53%)
CMYKcmyk(35.6%, 79.3%, 0%, 47.1%)
CIE-LABlab(25.58, 46.26, -48.01)
CIE-LCHlch(25.58, 66.67, 313.93°)
OKLaboklab(37.94% 0.0937 -0.1368)
OKLCHoklch(37.94% 0.166 304.4)
XYZxyz(8.7179, 4.6060, 23.3467)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C87 #4C871C
analogous
#221C87 #571C87 #871C82
triadic
#571C87 #87571C #1C8757
tetradic
#571C87 #87221C #4C871C #1C8287
square
#571C87 #87221C #4C871C #1C8287
split-complementary
#571C87 #82871C #1C8722
monochromatic
#160722 #361154 #571C87 #7827BA #9645D8

Accessibility & contrast

On white

10.93
#571C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#571C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C87
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C87#FFFFFF#000000##FFFFFF
##571C871.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#4E3851
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571c87;
/* rgb */ color: rgb(87, 28, 135);
/* oklch */ color: oklch(37.9% 0.166 304.4);
Tailwind
colors: {
  custom: {
    50: '#8b5fab',
    500: '#571c87',
    950: '#000000',
  },
}
SCSS
$custom: #571c87;
$custom-light: #8b5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#571c87",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 273.084,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37942,
    "c": 0.16585,
    "h": 304.4
  },
  "luminance": 0.04606
}

Semantic roles & 50–950 ramp

primary
#571C87
secondary
#79BA45
accent
#E93F8B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571C87

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

Preview Lab → · Contrast checker → · Palette generator →

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