#571257#571257

#571257 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.131 H 328.0°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#571257
RGBrgb(87, 18, 87)
HSLhsl(300, 66%, 21%)
HSVhsv(300, 79%, 34%)
CMYKcmyk(0%, 79.3%, 0%, 65.9%)
CIE-LABlab(20.62, 39.74, -24.98)
CIE-LCHlch(20.62, 46.94, 327.85°)
OKLaboklab(33.3% 0.1109 -0.0692)
OKLCHoklch(33.3% 0.131 328)
XYZxyz(5.8670, 3.1474, 9.3135)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571257 #125712
analogous
#341257 #571257 #571234
triadic
#571257 #575712 #125757
tetradic
#571257 #573412 #125712 #123457
square
#571257 #573412 #125712 #123457
split-complementary
#571257 #345712 #125734
monochromatic
#190519 #240824 #571257 #8A1C8A #BC27BC

Accessibility & contrast

On white

12.89
#571257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571257
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571257#FFFFFF#000000##FFFFFF
##5712571.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042C59
Deuteranopia (green-blind)
#253555
Tritanopia (blue-blind)
#5A1D33
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #571257;
/* rgb */ color: rgb(87, 18, 87);
/* oklch */ color: oklch(33.3% 0.131 328.0);
Tailwind
colors: {
  custom: {
    50: '#895987',
    500: '#571257',
    950: '#000000',
  },
}
SCSS
$custom: #571257;
$custom-light: #895987;
$custom-dark: #000000;
JSON
{
  "hex": "#571257",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 300,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33298,
    "c": 0.13071,
    "h": 328
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#571257
secondary
#359035
accent
#E93F3F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571257

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

Preview Lab → · Contrast checker → · Palette generator →

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