#571F8E#571F8E

#571F8E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.170 H 301.7°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#571F8E
RGBrgb(87, 31, 142)
HSLhsl(270, 64%, 34%)
HSVhsv(270, 78%, 56%)
CMYKcmyk(38.7%, 78.2%, 0%, 44.3%)
CIE-LABlab(26.62, 46.72, -50.68)
CIE-LCHlch(26.62, 68.93, 312.67°)
OKLaboklab(38.85% 0.0892 -0.1447)
OKLCHoklch(38.85% 0.17 301.7)
XYZxyz(9.3018, 4.9592, 26.0531)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F8E #568E1F
analogous
#1F1F8E #571F8E #8E1F8E
triadic
#571F8E #8E571F #1F8E57
tetradic
#571F8E #8E1F1F #568E1F #1F8E8E
square
#571F8E #8E1F1F #568E1F #1F8E8E
split-complementary
#571F8E #8E8E1F #1F8E1F
monochromatic
#19092A #38145C #571F8E #762AC0 #944FD9

Accessibility & contrast

On white

10.54
#571F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#571F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F8E
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F8E#FFFFFF#000000##FFFFFF
##571F8E1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#4B3C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #571f8e;
/* rgb */ color: rgb(87, 31, 142);
/* oklch */ color: oklch(38.9% 0.170 301.7);
Tailwind
colors: {
  custom: {
    50: '#8c61b0',
    500: '#571f8e',
    950: '#000000',
  },
}
SCSS
$custom: #571f8e;
$custom-light: #8c61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#571f8e",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 270.27,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38854,
    "c": 0.16999,
    "h": 301.7
  },
  "luminance": 0.04959
}

Semantic roles & 50–950 ramp

primary
#571F8E
secondary
#84BB4D
accent
#E74193
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #571F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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