#571E96#571E96

#571E96 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.179 H 299.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#571E96
RGBrgb(87, 30, 150)
HSLhsl(269, 67%, 35%)
HSVhsv(269, 80%, 59%)
CMYKcmyk(42%, 80%, 0%, 41.2%)
CIE-LABlab(27.18, 49.13, -54.71)
CIE-LCHlch(27.18, 73.54, 311.93°)
OKLaboklab(39.46% 0.0879 -0.1565)
OKLCHoklch(39.46% 0.179 299.3)
XYZxyz(9.8984, 5.1567, 29.3221)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E96 #5D961E
analogous
#1E2196 #571E96 #931E96
triadic
#571E96 #96571E #1E9657
tetradic
#571E96 #961E21 #5D961E #1E9693
square
#571E96 #961E21 #5D961E #1E9693
split-complementary
#571E96 #96931E #21961E
monochromatic
#1C0A30 #391463 #571E96 #7528C9 #9452DC

Accessibility & contrast

On white

10.34
#571E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#571E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E96
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E96#FFFFFF#000000##FFFFFF
##571E961.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#483F5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #571e96;
/* rgb */ color: rgb(87, 30, 150);
/* oklch */ color: oklch(39.5% 0.179 299.3);
Tailwind
colors: {
  custom: {
    50: '#8d61b6',
    500: '#571e96',
    950: '#000000',
  },
}
SCSS
$custom: #571e96;
$custom-light: #8d61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#571e96",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 268.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39462,
    "c": 0.17947,
    "h": 299.3
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#571E96
secondary
#8BBF50
accent
#EA3E98
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #571E96

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

Preview Lab → · Contrast checker → · Palette generator →

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