#571E8C#571E8C

#571E8C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.169 H 302.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#571E8C
RGBrgb(87, 30, 140)
HSLhsl(271, 65%, 33%)
HSVhsv(271, 79%, 55%)
CMYKcmyk(37.9%, 78.6%, 0%, 45.1%)
CIE-LABlab(26.30, 46.65, -49.97)
CIE-LCHlch(26.30, 68.36, 313.03°)
OKLaboklab(38.58% 0.0907 -0.1426)
OKLCHoklch(38.58% 0.169 302.5)
XYZxyz(9.1272, 4.8482, 25.2608)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E8C #538C1E
analogous
#201E8C #571E8C #8C1E8A
triadic
#571E8C #8C571E #1E8C57
tetradic
#571E8C #8C201E #538C1E #1E8A8C
square
#571E8C #8C201E #538C1E #1E8A8C
split-complementary
#571E8C #8A8C1E #1E8C20
monochromatic
#180827 #38135A #571E8C #7629BE #954CD9

Accessibility & contrast

On white

10.66
#571E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#571E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E8C
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E8C#FFFFFF#000000##FFFFFF
##571E8C1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#4C3B54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #571e8c;
/* rgb */ color: rgb(87, 30, 140);
/* oklch */ color: oklch(38.6% 0.169 302.5);
Tailwind
colors: {
  custom: {
    50: '#8c61ae',
    500: '#571e8c',
    950: '#000000',
  },
}
SCSS
$custom: #571e8c;
$custom-light: #8c61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#571e8c",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 271.091,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38576,
    "c": 0.16894,
    "h": 302.5
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#571E8C
secondary
#81BB4B
accent
#E84091
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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