#571E7F#571E7F

#571E7F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.155 H 307.1°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#571E7F
RGBrgb(87, 30, 127)
HSLhsl(275, 62%, 31%)
HSVhsv(275, 76%, 50%)
CMYKcmyk(31.5%, 76.4%, 0%, 50.2%)
CIE-LABlab(25.22, 43.48, -43.57)
CIE-LCHlch(25.22, 61.55, 314.94°)
OKLaboklab(37.48% 0.0937 -0.1238)
OKLCHoklch(37.48% 0.155 307.1)
XYZxyz(8.2247, 4.4872, 20.5074)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E7F #467F1E
analogous
#271E7F #571E7F #7F1E76
triadic
#571E7F #7F571E #1E7F57
tetradic
#571E7F #7F271E #467F1E #1E767F
square
#571E7F #7F271E #467F1E #1E767F
split-complementary
#571E7F #767F1E #1E7F27
monochromatic
#13071C #35124D #571E7F #792AB1 #9844D3

Accessibility & contrast

On white

11.07
#571E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#571E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E7F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E7F#FFFFFF#000000##FFFFFF
##571E7F1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#50354D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571e7f;
/* rgb */ color: rgb(87, 30, 127);
/* oklch */ color: oklch(37.5% 0.155 307.1);
Tailwind
colors: {
  custom: {
    50: '#8b60a5',
    500: '#571e7f',
    950: '#000000',
  },
}
SCSS
$custom: #571e7f;
$custom-light: #8b60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#571e7f",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 275.258,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37482,
    "c": 0.15523,
    "h": 307.1
  },
  "luminance": 0.04487
}

Semantic roles & 50–950 ramp

primary
#571E7F
secondary
#73B247
accent
#E54386
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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