#571886#571886

#571886 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.169 H 305.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#571886
RGBrgb(87, 24, 134)
HSLhsl(274, 70%, 31%)
HSVhsv(274, 82%, 53%)
CMYKcmyk(35.1%, 82.1%, 0%, 47.5%)
CIE-LABlab(24.95, 47.59, -48.41)
CIE-LCHlch(24.95, 67.88, 314.51°)
OKLaboklab(37.48% 0.0974 -0.1379)
OKLCHoklch(37.48% 0.169 305.2)
XYZxyz(8.5592, 4.4008, 22.9482)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571886 #478618
analogous
#201886 #571886 #86187E
triadic
#571886 #865718 #188657
tetradic
#571886 #862018 #478618 #187E86
square
#571886 #862018 #478618 #187E86
split-complementary
#571886 #7E8618 #188620
monochromatic
#14051E #350F52 #571886 #7921BA #983CDC

Accessibility & contrast

On white

11.17
#571886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#571886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571886
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571886#FFFFFF#000000##FFFFFF
##5718861.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571886;
/* rgb */ color: rgb(87, 24, 134);
/* oklch */ color: oklch(37.5% 0.169 305.2);
Tailwind
colors: {
  custom: {
    50: '#8c5eaa',
    500: '#571886',
    950: '#000000',
  },
}
SCSS
$custom: #571886;
$custom-light: #8c5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#571886",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 274.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37477,
    "c": 0.16889,
    "h": 305.2
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#571886
secondary
#74BA40
accent
#EC3B87
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571886

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

Preview Lab → · Contrast checker → · Palette generator →

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