#571152#571152

#571152 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.128 H 331.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#571152
RGBrgb(87, 17, 82)
HSLhsl(304, 67%, 20%)
HSVhsv(304, 80%, 34%)
CMYKcmyk(0%, 80.5%, 5.7%, 65.9%)
CIE-LABlab(20.19, 39.19, -22.30)
CIE-LCHlch(20.19, 45.09, 330.36°)
OKLaboklab(32.89% 0.1119 -0.0614)
OKLCHoklch(32.89% 0.128 331.2)
XYZxyz(5.6539, 3.0368, 8.2694)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571152 #115716
analogous
#391157 #571152 #57112F
triadic
#571152 #525711 #115257
tetradic
#571152 #573911 #115716 #112F57
square
#571152 #573911 #115716 #112F57
split-complementary
#571152 #2F5711 #115739
monochromatic
#1A0518 #240722 #571152 #8A1B82 #BD25B3

Accessibility & contrast

On white

13.07
#571152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571152
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571152#FFFFFF#000000##FFFFFF
##5711521.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2B54
Deuteranopia (green-blind)
#273450
Tritanopia (blue-blind)
#5B1A30
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #571152;
/* rgb */ color: rgb(87, 17, 82);
/* oklch */ color: oklch(32.9% 0.128 331.2);
Tailwind
colors: {
  custom: {
    50: '#895883',
    500: '#571152',
    950: '#000000',
  },
}
SCSS
$custom: #571152;
$custom-light: #895883;
$custom-dark: #000000;
JSON
{
  "hex": "#571152",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 304.286,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32887,
    "c": 0.12762,
    "h": 331.2
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#571152
secondary
#34903A
accent
#EA4A3E
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #571152

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

Preview Lab → · Contrast checker → · Palette generator →

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