#571981#571981

#571981 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.163 H 307.0°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#571981
RGBrgb(87, 25, 129)
HSLhsl(276, 68%, 30%)
HSVhsv(276, 81%, 51%)
CMYKcmyk(32.6%, 80.6%, 0%, 49.4%)
CIE-LABlab(24.66, 46.03, -45.75)
CIE-LCHlch(24.66, 64.90, 315.18°)
OKLaboklab(37.14% 0.0979 -0.1301)
OKLCHoklch(37.14% 0.163 307)
XYZxyz(8.2397, 4.3066, 21.1618)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571981 #438119
analogous
#231981 #571981 #811977
triadic
#571981 #815719 #198157
tetradic
#571981 #812319 #438119 #197781
square
#571981 #812319 #438119 #197781
split-complementary
#571981 #778119 #198123
monochromatic
#12051A #340F4E #571981 #7A23B4 #993BD9

Accessibility & contrast

On white

11.28
#571981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#571981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571981
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571981#FFFFFF#000000##FFFFFF
##5719811.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#003B7F
Tritanopia (blue-blind)
#50344D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571981;
/* rgb */ color: rgb(87, 25, 129);
/* oklch */ color: oklch(37.1% 0.163 307.0);
Tailwind
colors: {
  custom: {
    50: '#8b5ea6',
    500: '#571981',
    950: '#000000',
  },
}
SCSS
$custom: #571981;
$custom-light: #8b5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#571981",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 275.769,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37139,
    "c": 0.16286,
    "h": 307
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#571981
secondary
#70B541
accent
#EA3D83
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571981

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

Preview Lab → · Contrast checker → · Palette generator →

#571981 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva