#571858#571858

#571858 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.124 H 327.2°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#571858
RGBrgb(87, 24, 88)
HSLhsl(299, 57%, 22%)
HSVhsv(299, 73%, 35%)
CMYKcmyk(1.1%, 72.7%, 0%, 65.5%)
CIE-LABlab(21.52, 37.56, -24.22)
CIE-LCHlch(21.52, 44.69, 327.18°)
OKLaboklab(33.96% 0.1042 -0.0671)
OKLCHoklch(33.96% 0.124 327.2)
XYZxyz(6.0185, 3.3845, 9.5669)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571858 #195818
analogous
#371858 #571858 #581839
triadic
#571858 #585718 #185857
tetradic
#571858 #583718 #195818 #183958
square
#571858 #583718 #195818 #183958
split-complementary
#571858 #395818 #185837
monochromatic
#180718 #270B28 #571858 #872588 #B632B8

Accessibility & contrast

On white

12.52
#571858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#571858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571858
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571858#FFFFFF#000000##FFFFFF
##5718581.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2E5A
Deuteranopia (green-blind)
#273656
Tritanopia (blue-blind)
#5A2136
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571858;
/* rgb */ color: rgb(87, 24, 88);
/* oklch */ color: oklch(34.0% 0.124 327.2);
Tailwind
colors: {
  custom: {
    50: '#895b87',
    500: '#571858',
    950: '#000000',
  },
}
SCSS
$custom: #571858;
$custom-light: #895b87;
$custom-dark: #000000;
JSON
{
  "hex": "#571858",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 299.063,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33962,
    "c": 0.12392,
    "h": 327.2
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#571858
secondary
#3E8F3D
accent
#E0474A
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571858

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

Preview Lab → · Contrast checker → · Palette generator →

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