#571272#571272

#571272 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.155 H 313.8°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#571272
RGBrgb(87, 18, 114)
HSLhsl(283, 73%, 26%)
HSVhsv(283, 84%, 45%)
CMYKcmyk(23.7%, 84.2%, 0%, 55.3%)
CIE-LABlab(22.56, 45.18, -39.59)
CIE-LCHlch(22.56, 60.07, 318.77°)
OKLaboklab(35.29% 0.1075 -0.112)
OKLCHoklch(35.29% 0.155 313.8)
XYZxyz(7.1835, 3.6740, 16.2471)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571272 #2D7212
analogous
#271272 #571272 #72125D
triadic
#571272 #725712 #127257
tetradic
#571272 #722712 #2D7212 #125D72
square
#571272 #722712 #2D7212 #125D72
split-complementary
#571272 #5D7212 #127227
monochromatic
#14041A #2F0A3D #571272 #7F1AA7 #A823DC

Accessibility & contrast

On white

12.11
#571272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571272
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571272#FFFFFF#000000##FFFFFF
##5712721.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#063770
Tritanopia (blue-blind)
#542A43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571272;
/* rgb */ color: rgb(87, 18, 114);
/* oklch */ color: oklch(35.3% 0.155 313.8);
Tailwind
colors: {
  custom: {
    50: '#8a5a9b',
    500: '#571272',
    950: '#000000',
  },
}
SCSS
$custom: #571272;
$custom-light: #8a5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#571272",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 283.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35286,
    "c": 0.15524,
    "h": 313.8
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#571272
secondary
#57A937
accent
#EF386C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571272

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

Preview Lab → · Contrast checker → · Palette generator →

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