#571568#571568

#571568 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.143 H 318.3°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#571568
RGBrgb(87, 21, 104)
HSLhsl(288, 66%, 25%)
HSVhsv(288, 80%, 41%)
CMYKcmyk(16.3%, 79.8%, 0%, 59.2%)
CIE-LABlab(22.17, 41.99, -33.75)
CIE-LCHlch(22.17, 53.87, 321.22°)
OKLaboklab(34.77% 0.1066 -0.0948)
OKLCHoklch(34.77% 0.143 318.3)
XYZxyz(6.6970, 3.5624, 13.4289)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571568 #266815
analogous
#2E1568 #571568 #681550
triadic
#571568 #685715 #156857
tetradic
#571568 #682E15 #266815 #155068
square
#571568 #682E15 #266815 #155068
split-complementary
#571568 #506815 #15682E
monochromatic
#150519 #2C0B35 #571568 #821F9B #AC2ACE

Accessibility & contrast

On white

12.26
#571568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#571568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571568
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571568#FFFFFF#000000##FFFFFF
##5715681.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#193766
Tritanopia (blue-blind)
#57273E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571568;
/* rgb */ color: rgb(87, 21, 104);
/* oklch */ color: oklch(34.8% 0.143 318.3);
Tailwind
colors: {
  custom: {
    50: '#8a5b94',
    500: '#571568',
    950: '#000000',
  },
}
SCSS
$custom: #571568;
$custom-light: #8a5b94;
$custom-dark: #000000;
JSON
{
  "hex": "#571568",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 287.711,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34767,
    "c": 0.1427,
    "h": 318.3
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#571568
secondary
#4F9F3A
accent
#E93E61
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571568

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

Preview Lab → · Contrast checker → · Palette generator →

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