#571986#571986

#571986 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.168 H 305.1°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#571986
RGBrgb(87, 25, 134)
HSLhsl(274, 69%, 31%)
HSVhsv(274, 81%, 53%)
CMYKcmyk(35.1%, 81.3%, 0%, 47.5%)
CIE-LABlab(25.08, 47.21, -48.20)
CIE-LCHlch(25.08, 67.47, 314.41°)
OKLaboklab(37.57% 0.0966 -0.1373)
OKLCHoklch(37.57% 0.168 305.1)
XYZxyz(8.5802, 4.4428, 22.9552)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571986 #488619
analogous
#201986 #571986 #86197E
triadic
#571986 #865719 #198657
tetradic
#571986 #862019 #488619 #197E86
square
#571986 #862019 #488619 #197E86
split-complementary
#571986 #7E8619 #198620
monochromatic
#14061F #360F52 #571986 #7823BA #973EDB

Accessibility & contrast

On white

11.12
#571986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#571986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571986
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571986#FFFFFF#000000##FFFFFF
##5719861.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#4E3650
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571986;
/* rgb */ color: rgb(87, 25, 134);
/* oklch */ color: oklch(37.6% 0.168 305.1);
Tailwind
colors: {
  custom: {
    50: '#8c5eaa',
    500: '#571986',
    950: '#000000',
  },
}
SCSS
$custom: #571986;
$custom-light: #8c5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#571986",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 274.128,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37567,
    "c": 0.16791,
    "h": 305.1
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

primary
#571986
secondary
#75BA41
accent
#EB3C88
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571986

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

Preview Lab → · Contrast checker → · Palette generator →

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