#571E79#571E79

#571E79 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.149 H 309.5°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#571E79
RGBrgb(87, 30, 121)
HSLhsl(278, 60%, 30%)
HSVhsv(278, 75%, 47%)
CMYKcmyk(28.1%, 75.2%, 0%, 52.5%)
CIE-LABlab(24.75, 42.05, -40.53)
CIE-LCHlch(24.75, 58.40, 316.05°)
OKLaboklab(37% 0.0948 -0.1148)
OKLCHoklch(37% 0.149 309.5)
XYZxyz(7.8453, 4.3354, 18.5090)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E79 #40791E
analogous
#291E79 #571E79 #791E6E
triadic
#571E79 #79571E #1E7957
tetradic
#571E79 #79291E #40791E #1E6E79
square
#571E79 #79291E #40791E #1E6E79
split-complementary
#571E79 #6E791E #1E7929
monochromatic
#120619 #341248 #571E79 #7A2AAA #9B41D0

Accessibility & contrast

On white

11.25
#571E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#571E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E79
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E79#FFFFFF#000000##FFFFFF
##571E791.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#093C77
Tritanopia (blue-blind)
#523349
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571e79;
/* rgb */ color: rgb(87, 30, 121);
/* oklch */ color: oklch(37.0% 0.149 309.5);
Tailwind
colors: {
  custom: {
    50: '#8a60a0',
    500: '#571e79',
    950: '#000000',
  },
}
SCSS
$custom: #571e79;
$custom-light: #8a60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#571e79",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 277.582,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37001,
    "c": 0.14889,
    "h": 309.5
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#571E79
secondary
#6CAD46
accent
#E34480
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #571E79

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

Preview Lab → · Contrast checker → · Palette generator →

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