#571F87#571F87

#571F87 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.163 H 304.0°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#571F87
RGBrgb(87, 31, 135)
HSLhsl(272, 63%, 33%)
HSVhsv(272, 77%, 53%)
CMYKcmyk(35.6%, 77%, 0%, 47.1%)
CIE-LABlab(26.03, 44.98, -47.29)
CIE-LCHlch(26.03, 65.27, 313.57°)
OKLaboklab(38.25% 0.091 -0.1347)
OKLCHoklch(38.25% 0.163 304)
XYZxyz(8.7926, 4.7555, 23.3717)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F87 #4F871F
analogous
#231F87 #571F87 #871F83
triadic
#571F87 #87571F #1F8757
tetradic
#571F87 #87231F #4F871F #1F8387
square
#571F87 #87231F #4F871F #1F8387
split-complementary
#571F87 #83871F #1F8723
monochromatic
#170823 #371455 #571F87 #772AB9 #964BD6

Accessibility & contrast

On white

10.76
#571F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#571F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F87
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F87#FFFFFF#000000##FFFFFF
##571F871.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#4E3952
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #571f87;
/* rgb */ color: rgb(87, 31, 135);
/* oklch */ color: oklch(38.3% 0.163 304.0);
Tailwind
colors: {
  custom: {
    50: '#8b61ab',
    500: '#571f87',
    950: '#000000',
  },
}
SCSS
$custom: #571f87;
$custom-light: #8b61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#571f87",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 272.308,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38254,
    "c": 0.16254,
    "h": 304
  },
  "luminance": 0.04755
}

Semantic roles & 50–950 ramp

primary
#571F87
secondary
#7DB84A
accent
#E6428E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571F87

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

Preview Lab → · Contrast checker → · Palette generator →

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