#571266#571266

#571266 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.144 H 319.6°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#571266
RGBrgb(87, 18, 102)
HSLhsl(289, 70%, 24%)
HSVhsv(289, 82%, 40%)
CMYKcmyk(14.7%, 82.4%, 0%, 60%)
CIE-LABlab(21.65, 42.66, -33.28)
CIE-LCHlch(21.65, 54.11, 322.05°)
OKLaboklab(34.35% 0.1097 -0.0934)
OKLCHoklch(34.35% 0.144 319.6)
XYZxyz(6.5448, 3.4185, 12.8829)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571266 #216612
analogous
#2D1266 #571266 #66124B
triadic
#571266 #665712 #126657
tetradic
#571266 #662D12 #216612 #124B66
square
#571266 #662D12 #216612 #124B66
split-complementary
#571266 #4B6612 #12662D
monochromatic
#16051A #2B0932 #571266 #831B9A #B024CE

Accessibility & contrast

On white

12.47
#571266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#571266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571266
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571266#FFFFFF#000000##FFFFFF
##5712661.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#193664
Tritanopia (blue-blind)
#57243C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571266;
/* rgb */ color: rgb(87, 18, 102);
/* oklch */ color: oklch(34.4% 0.144 319.6);
Tailwind
colors: {
  custom: {
    50: '#8a5992',
    500: '#571266',
    950: '#000000',
  },
}
SCSS
$custom: #571266;
$custom-light: #8a5992;
$custom-dark: #000000;
JSON
{
  "hex": "#571266",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 289.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34352,
    "c": 0.14412,
    "h": 319.6
  },
  "luminance": 0.03418
}

Semantic roles & 50–950 ramp

primary
#571266
secondary
#499E36
accent
#ED3B5B
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571266

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

Preview Lab → · Contrast checker → · Palette generator →

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