#571472#571472

#571472 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.5% C 0.153 H 313.7°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#571472
RGBrgb(87, 20, 114)
HSLhsl(283, 70%, 26%)
HSVhsv(283, 82%, 45%)
CMYKcmyk(23.7%, 82.5%, 0%, 55.3%)
CIE-LABlab(22.80, 44.50, -39.21)
CIE-LCHlch(22.80, 59.31, 318.61°)
OKLaboklab(35.45% 0.1058 -0.1109)
OKLCHoklch(35.45% 0.153 313.7)
XYZxyz(7.2174, 3.7417, 16.2584)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571472 #2F7214
analogous
#281472 #571472 #72145E
triadic
#571472 #725714 #147257
tetradic
#571472 #722814 #2F7214 #145E72
square
#571472 #722814 #2F7214 #145E72
split-complementary
#571472 #5E7214 #147228
monochromatic
#14051A #2F0B3E #571472 #7F1DA6 #A627D9

Accessibility & contrast

On white

12.01
#571472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#571472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571472
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571472#FFFFFF#000000##FFFFFF
##5714721.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#093870
Tritanopia (blue-blind)
#542B43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571472;
/* rgb */ color: rgb(87, 20, 114);
/* oklch */ color: oklch(35.5% 0.153 313.7);
Tailwind
colors: {
  custom: {
    50: '#8a5b9b',
    500: '#571472',
    950: '#000000',
  },
}
SCSS
$custom: #571472;
$custom-light: #8a5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#571472",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 282.766,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35451,
    "c": 0.15329,
    "h": 313.7
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#571472
secondary
#59A839
accent
#ED3B6E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571472

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

Preview Lab → · Contrast checker → · Palette generator →

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