#571157#571157

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

Color values

HEX#571157
RGBrgb(87, 17, 87)
HSLhsl(300, 67%, 20%)
HSVhsv(300, 80%, 34%)
CMYKcmyk(0%, 80.5%, 0%, 65.9%)
CIE-LABlab(20.50, 40.09, -25.17)
CIE-LCHlch(20.50, 47.34, 327.88°)
OKLaboklab(33.21% 0.1119 -0.0698)
OKLCHoklch(33.21% 0.132 328.1)
XYZxyz(5.8512, 3.1157, 9.3082)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571157 #115711
analogous
#341157 #571157 #571134
triadic
#571157 #575711 #115757
tetradic
#571157 #573411 #115711 #113457
square
#571157 #573411 #115711 #113457
split-complementary
#571157 #345711 #115734
monochromatic
#1A051A #240724 #571157 #8A1B8A #BD25BD

Accessibility & contrast

On white

12.94
#571157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#571157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571157
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571157#FFFFFF#000000##FFFFFF
##5711571.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032C59
Deuteranopia (green-blind)
#253555
Tritanopia (blue-blind)
#5A1C33
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #571157;
/* rgb */ color: rgb(87, 17, 87);
/* oklch */ color: oklch(33.2% 0.132 328.1);
Tailwind
colors: {
  custom: {
    50: '#895887',
    500: '#571157',
    950: '#000000',
  },
}
SCSS
$custom: #571157;
$custom-light: #895887;
$custom-dark: #000000;
JSON
{
  "hex": "#571157",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 300,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3321,
    "c": 0.13186,
    "h": 328.1
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#571157
secondary
#349034
accent
#EA3E3E
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571157

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

Preview Lab → · Contrast checker → · Palette generator →

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