#571252#571252

#571252 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.126 H 331.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#571252
RGBrgb(87, 18, 82)
HSLhsl(304, 66%, 21%)
HSVhsv(304, 79%, 34%)
CMYKcmyk(0%, 79.3%, 5.7%, 65.9%)
CIE-LABlab(20.32, 38.83, -22.10)
CIE-LCHlch(20.32, 44.68, 330.35°)
OKLaboklab(32.98% 0.1108 -0.0609)
OKLCHoklch(32.98% 0.126 331.2)
XYZxyz(5.6698, 3.0685, 8.2747)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571252 #125717
analogous
#391257 #571252 #57122F
triadic
#571252 #525712 #125257
tetradic
#571252 #573912 #125717 #122F57
square
#571252 #573912 #125717 #122F57
split-complementary
#571252 #2F5712 #125739
monochromatic
#190518 #240822 #571252 #8A1C82 #BC27B2

Accessibility & contrast

On white

13.01
#571252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#571252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571252
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571252#FFFFFF#000000##FFFFFF
##5712521.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2B54
Deuteranopia (green-blind)
#283450
Tritanopia (blue-blind)
#5B1A31
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #571252;
/* rgb */ color: rgb(87, 18, 82);
/* oklch */ color: oklch(33.0% 0.126 331.2);
Tailwind
colors: {
  custom: {
    50: '#895883',
    500: '#571252',
    950: '#000000',
  },
}
SCSS
$custom: #571252;
$custom-light: #895883;
$custom-dark: #000000;
JSON
{
  "hex": "#571252",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 304.348,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32977,
    "c": 0.12643,
    "h": 331.2
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#571252
secondary
#35903C
accent
#E94B3F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #571252

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

Preview Lab → · Contrast checker → · Palette generator →

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