#571782#571782

#571782 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.166 H 306.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#571782
RGBrgb(87, 23, 130)
HSLhsl(276, 70%, 30%)
HSVhsv(276, 82%, 51%)
CMYKcmyk(33.1%, 82.3%, 0%, 49%)
CIE-LABlab(24.48, 47.02, -46.66)
CIE-LCHlch(24.48, 66.24, 315.22°)
OKLaboklab(37.04% 0.0994 -0.1328)
OKLCHoklch(37.04% 0.166 306.8)
XYZxyz(8.2653, 4.2508, 21.4998)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571782 #428217
analogous
#221782 #571782 #821777
triadic
#571782 #825717 #178257
tetradic
#571782 #822217 #428217 #177782
square
#571782 #822217 #428217 #177782
split-complementary
#571782 #778217 #178222
monochromatic
#11051A #340E4E #571782 #7A20B6 #9A38DC

Accessibility & contrast

On white

11.35
#571782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#571782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571782
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571782#FFFFFF#000000##FFFFFF
##5717821.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571782;
/* rgb */ color: rgb(87, 23, 130);
/* oklch */ color: oklch(37.0% 0.166 306.8);
Tailwind
colors: {
  custom: {
    50: '#8b5da7',
    500: '#571782',
    950: '#000000',
  },
}
SCSS
$custom: #571782;
$custom-light: #8b5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#571782",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 275.888,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.37042,
    "c": 0.16587,
    "h": 306.8
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#571782
secondary
#6FB63E
accent
#ED3B82
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571782

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

Preview Lab → · Contrast checker → · Palette generator →

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