#571882#571882

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

Color values

HEX#571882
RGBrgb(87, 24, 130)
HSLhsl(276, 69%, 30%)
HSVhsv(276, 82%, 51%)
CMYKcmyk(33.1%, 81.5%, 0%, 49%)
CIE-LABlab(24.61, 46.65, -46.45)
CIE-LCHlch(24.61, 65.83, 315.12°)
OKLaboklab(37.13% 0.0985 -0.1322)
OKLCHoklch(37.13% 0.165 306.7)
XYZxyz(8.2855, 4.2913, 21.5066)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571882 #438218
analogous
#221882 #571882 #821878
triadic
#571882 #825718 #188257
tetradic
#571882 #822218 #438218 #187882
square
#571882 #822218 #438218 #187882
split-complementary
#571882 #788218 #188222
monochromatic
#12051B #340E4E #571882 #7A22B6 #993ADB

Accessibility & contrast

On white

11.30
#571882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571882
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571882#FFFFFF#000000##FFFFFF
##5718821.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#4F344D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571882;
/* rgb */ color: rgb(87, 24, 130);
/* oklch */ color: oklch(37.1% 0.165 306.7);
Tailwind
colors: {
  custom: {
    50: '#8b5da7',
    500: '#571882',
    950: '#000000',
  },
}
SCSS
$custom: #571882;
$custom-light: #8b5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#571882",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 275.66,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37131,
    "c": 0.16488,
    "h": 306.7
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#571882
secondary
#70B640
accent
#EC3C83
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571882

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

Preview Lab → · Contrast checker → · Palette generator →

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