#571E8F#571E8F

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

Color values

HEX#571E8F
RGBrgb(87, 30, 143)
HSLhsl(270, 65%, 34%)
HSVhsv(270, 79%, 56%)
CMYKcmyk(39.2%, 79%, 0%, 43.9%)
CIE-LABlab(26.56, 47.39, -51.40)
CIE-LCHlch(26.56, 69.92, 312.67°)
OKLaboklab(38.84% 0.0899 -0.1468)
OKLCHoklch(38.84% 0.172 301.5)
XYZxyz(9.3515, 4.9379, 26.4417)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E8F #568F1E
analogous
#1E1E8F #571E8F #8F1E8F
triadic
#571E8F #8F571E #1E8F57
tetradic
#571E8F #8F1E1E #568F1E #1E8F8F
square
#571E8F #8F1E1E #568F1E #1E8F8F
split-complementary
#571E8F #8F8F1E #1E8F1E
monochromatic
#19092A #38135C #571E8F #7629C2 #944EDA

Accessibility & contrast

On white

10.57
#571E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571E8F
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E8F#FFFFFF#000000##FFFFFF
##571E8F1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571e8f;
/* rgb */ color: rgb(87, 30, 143);
/* oklch */ color: oklch(38.8% 0.172 301.5);
Tailwind
colors: {
  custom: {
    50: '#8c61b1',
    500: '#571e8f',
    950: '#000000',
  },
}
SCSS
$custom: #571e8f;
$custom-light: #8c61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#571e8f",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 270.265,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38838,
    "c": 0.17211,
    "h": 301.5
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#571E8F
secondary
#84BC4C
accent
#E84093
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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