#571F8D#571F8D

#571F8D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.169 H 302.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#571F8D
RGBrgb(87, 31, 141)
HSLhsl(271, 64%, 34%)
HSVhsv(271, 78%, 55%)
CMYKcmyk(38.3%, 78%, 0%, 44.7%)
CIE-LABlab(26.53, 46.47, -50.20)
CIE-LCHlch(26.53, 68.41, 312.79°)
OKLaboklab(38.77% 0.0895 -0.1433)
OKLCHoklch(38.77% 0.169 302)
XYZxyz(9.2270, 4.9293, 25.6595)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F8D #558D1F
analogous
#201F8D #571F8D #8D1F8C
triadic
#571F8D #8D571F #1F8D57
tetradic
#571F8D #8D201F #558D1F #1F8C8D
square
#571F8D #8D201F #558D1F #1F8C8D
split-complementary
#571F8D #8C8D1F #1F8D20
monochromatic
#190929 #38145B #571F8D #762ABF #944ED8

Accessibility & contrast

On white

10.58
#571F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571F8D
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F8D#FFFFFF#000000##FFFFFF
##571F8D1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#4B3C55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #571f8d;
/* rgb */ color: rgb(87, 31, 141);
/* oklch */ color: oklch(38.8% 0.169 302.0);
Tailwind
colors: {
  custom: {
    50: '#8c61af',
    500: '#571f8d',
    950: '#000000',
  },
}
SCSS
$custom: #571f8d;
$custom-light: #8c61af;
$custom-dark: #000000;
JSON
{
  "hex": "#571f8d",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 270.545,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38767,
    "c": 0.16893,
    "h": 302
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#571F8D
secondary
#83BB4D
accent
#E74192
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #571F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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