#571682#571682

#571682 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.167 H 306.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#571682
RGBrgb(87, 22, 130)
HSLhsl(276, 71%, 30%)
HSVhsv(276, 83%, 51%)
CMYKcmyk(33.1%, 83.1%, 0%, 49%)
CIE-LABlab(24.36, 47.38, -46.87)
CIE-LCHlch(24.36, 66.64, 315.31°)
OKLaboklab(36.96% 0.1002 -0.1334)
OKLCHoklch(36.96% 0.167 306.9)
XYZxyz(8.2458, 4.2119, 21.4933)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571682 #418216
analogous
#211682 #571682 #821677
triadic
#571682 #825716 #168257
tetradic
#571682 #822116 #418216 #167782
square
#571682 #822116 #418216 #167782
split-complementary
#571682 #778216 #168221
monochromatic
#12041A #340D4E #571682 #7A1FB6 #9A35DD

Accessibility & contrast

On white

11.40
#571682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#571682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571682
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571682#FFFFFF#000000##FFFFFF
##5716821.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571682;
/* rgb */ color: rgb(87, 22, 130);
/* oklch */ color: oklch(37.0% 0.167 306.9);
Tailwind
colors: {
  custom: {
    50: '#8b5da7',
    500: '#571682',
    950: '#000000',
  },
}
SCSS
$custom: #571682;
$custom-light: #8b5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#571682",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 276.111,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36955,
    "c": 0.16681,
    "h": 306.9
  },
  "luminance": 0.04212
}

Semantic roles & 50–950 ramp

primary
#571682
secondary
#6EB73D
accent
#EE3A82
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571682

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

Preview Lab → · Contrast checker → · Palette generator →

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