#571452#571452

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

Color values

HEX#571452
RGBrgb(87, 20, 82)
HSLhsl(304, 63%, 21%)
HSVhsv(304, 77%, 34%)
CMYKcmyk(0%, 77%, 5.7%, 65.9%)
CIE-LABlab(20.58, 38.07, -21.68)
CIE-LCHlch(20.58, 43.82, 330.34°)
OKLaboklab(33.17% 0.1086 -0.0597)
OKLCHoklch(33.17% 0.124 331.2)
XYZxyz(5.7036, 3.1362, 8.2860)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571452 #145719
analogous
#3A1457 #571452 #571430
triadic
#571452 #525714 #145257
tetradic
#571452 #573A14 #145719 #143057
square
#571452 #573A14 #145719 #143057
split-complementary
#571452 #305714 #14573A
monochromatic
#190617 #250923 #571452 #891F81 #BB2BB0

Accessibility & contrast

On white

12.91
#571452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#571452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571452
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571452#FFFFFF#000000##FFFFFF
##5714521.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2C54
Deuteranopia (green-blind)
#293550
Tritanopia (blue-blind)
#5B1C31
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #571452;
/* rgb */ color: rgb(87, 20, 82);
/* oklch */ color: oklch(33.2% 0.124 331.2);
Tailwind
colors: {
  custom: {
    50: '#895983',
    500: '#571452',
    950: '#000000',
  },
}
SCSS
$custom: #571452;
$custom-light: #895983;
$custom-dark: #000000;
JSON
{
  "hex": "#571452",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 304.478,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33168,
    "c": 0.12395,
    "h": 331.2
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#571452
secondary
#388F3E
accent
#E64E42
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #571452

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

Preview Lab → · Contrast checker → · Palette generator →

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