#571270#571270

#571270 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.153 H 314.7°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#571270
RGBrgb(87, 18, 112)
HSLhsl(284, 72%, 25%)
HSVhsv(284, 84%, 44%)
CMYKcmyk(22.3%, 83.9%, 0%, 56.1%)
CIE-LABlab(22.40, 44.75, -38.56)
CIE-LCHlch(22.40, 59.07, 319.25°)
OKLaboklab(35.13% 0.108 -0.109)
OKLCHoklch(35.13% 0.153 314.7)
XYZxyz(7.0709, 3.6290, 15.6541)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571270 #2B7012
analogous
#281270 #571270 #70125A
triadic
#571270 #705712 #127057
tetradic
#571270 #702812 #2B7012 #125A70
square
#571270 #702812 #2B7012 #125A70
split-complementary
#571270 #5A7012 #127028
monochromatic
#14041A #2E0A3B #571270 #801AA5 #A923D9

Accessibility & contrast

On white

12.17
#571270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#571270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571270
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571270#FFFFFF#000000##FFFFFF
##5712701.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#0B376E
Tritanopia (blue-blind)
#552942
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571270;
/* rgb */ color: rgb(87, 18, 112);
/* oklch */ color: oklch(35.1% 0.153 314.7);
Tailwind
colors: {
  custom: {
    50: '#8a5a9a',
    500: '#571270',
    950: '#000000',
  },
}
SCSS
$custom: #571270;
$custom-light: #8a5a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#571270",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 112
  },
  "hsl": {
    "h": 284.043,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35125,
    "c": 0.15338,
    "h": 314.7
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#571270
secondary
#55A737
accent
#EF3969
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571270

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

Preview Lab → · Contrast checker → · Palette generator →

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