#571658#571658

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

Color values

HEX#571658
RGBrgb(87, 22, 88)
HSLhsl(299, 60%, 22%)
HSVhsv(299, 75%, 35%)
CMYKcmyk(1.1%, 75%, 0%, 65.5%)
CIE-LABlab(21.23, 38.39, -24.69)
CIE-LCHlch(21.23, 45.65, 327.26°)
OKLaboklab(33.75% 0.1066 -0.0684)
OKLCHoklch(33.75% 0.127 327.3)
XYZxyz(5.9787, 3.3050, 9.5537)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571658 #175816
analogous
#361658 #571658 #581638
triadic
#571658 #585716 #165857
tetradic
#571658 #583616 #175816 #163858
square
#571658 #583616 #175816 #163858
split-complementary
#571658 #385816 #165836
monochromatic
#180618 #270A27 #571658 #872289 #B82EBA

Accessibility & contrast

On white

12.64
#571658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#571658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571658
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571658#FFFFFF#000000##FFFFFF
##5716581.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2E5A
Deuteranopia (green-blind)
#263656
Tritanopia (blue-blind)
#5A2035
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #571658;
/* rgb */ color: rgb(87, 22, 88);
/* oklch */ color: oklch(33.7% 0.127 327.3);
Tailwind
colors: {
  custom: {
    50: '#895a87',
    500: '#571658',
    950: '#000000',
  },
}
SCSS
$custom: #571658;
$custom-light: #895a87;
$custom-dark: #000000;
JSON
{
  "hex": "#571658",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 299.091,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33749,
    "c": 0.12662,
    "h": 327.3
  },
  "luminance": 0.03305
}

Semantic roles & 50–950 ramp

primary
#571658
secondary
#3C8F3B
accent
#E34547
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571658

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

Preview Lab → · Contrast checker → · Palette generator →

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