#571758#571758

#571758 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.125 H 327.3°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#571758
RGBrgb(87, 23, 88)
HSLhsl(299, 59%, 22%)
HSVhsv(299, 74%, 35%)
CMYKcmyk(1.1%, 73.9%, 0%, 65.5%)
CIE-LABlab(21.37, 37.98, -24.46)
CIE-LCHlch(21.37, 45.17, 327.22°)
OKLaboklab(33.85% 0.1054 -0.0677)
OKLCHoklch(33.85% 0.125 327.3)
XYZxyz(5.9982, 3.3440, 9.5602)
Luminance0.0334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571758 #185817
analogous
#371758 #571758 #581739
triadic
#571758 #585717 #175857
tetradic
#571758 #583717 #185817 #173958
square
#571758 #583717 #185817 #173958
split-complementary
#571758 #395817 #175837
monochromatic
#180618 #270A27 #571758 #872489 #B730B9

Accessibility & contrast

On white

12.58
#571758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#571758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571758
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571758#FFFFFF#000000##FFFFFF
##5717581.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2E5A
Deuteranopia (green-blind)
#273656
Tritanopia (blue-blind)
#5A2135
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #571758;
/* rgb */ color: rgb(87, 23, 88);
/* oklch */ color: oklch(33.9% 0.125 327.3);
Tailwind
colors: {
  custom: {
    50: '#895b87',
    500: '#571758',
    950: '#000000',
  },
}
SCSS
$custom: #571758;
$custom-light: #895b87;
$custom-dark: #000000;
JSON
{
  "hex": "#571758",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 299.077,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33854,
    "c": 0.12529,
    "h": 327.3
  },
  "luminance": 0.03344
}

Semantic roles & 50–950 ramp

primary
#571758
secondary
#3D8F3C
accent
#E24648
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571758

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

Preview Lab → · Contrast checker → · Palette generator →

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