#571256#571256

#571256 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.130 H 328.6°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#571256
RGBrgb(87, 18, 86)
HSLhsl(301, 66%, 21%)
HSVhsv(301, 79%, 34%)
CMYKcmyk(0%, 79.3%, 1.1%, 65.9%)
CIE-LABlab(20.56, 39.55, -24.40)
CIE-LCHlch(20.56, 46.48, 328.33°)
OKLaboklab(33.23% 0.1109 -0.0676)
OKLCHoklch(33.23% 0.13 328.6)
XYZxyz(5.8264, 3.1312, 9.0998)
Luminance0.0313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571256 #125713
analogous
#351257 #571256 #571233
triadic
#571256 #565712 #125657
tetradic
#571256 #573512 #125713 #123357
square
#571256 #573512 #125713 #123357
split-complementary
#571256 #335712 #125735
monochromatic
#190519 #240824 #571256 #8A1C88 #BC27BA

Accessibility & contrast

On white

12.91
#571256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#571256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571256
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571256#FFFFFF#000000##FFFFFF
##5712561.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062C58
Deuteranopia (green-blind)
#263554
Tritanopia (blue-blind)
#5A1C33
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #571256;
/* rgb */ color: rgb(87, 18, 86);
/* oklch */ color: oklch(33.2% 0.130 328.6);
Tailwind
colors: {
  custom: {
    50: '#895986',
    500: '#571256',
    950: '#000000',
  },
}
SCSS
$custom: #571256;
$custom-light: #895986;
$custom-dark: #000000;
JSON
{
  "hex": "#571256",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 300.87,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33233,
    "c": 0.12985,
    "h": 328.6
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#571256
secondary
#359036
accent
#E9423F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571256

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

Preview Lab → · Contrast checker → · Palette generator →

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