#571968#571968

#571968 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.138 H 318.0°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#571968
RGBrgb(87, 25, 104)
HSLhsl(287, 61%, 25%)
HSVhsv(287, 76%, 41%)
CMYKcmyk(16.3%, 76%, 0%, 59.2%)
CIE-LABlab(22.73, 40.40, -32.85)
CIE-LCHlch(22.73, 52.07, 320.89°)
OKLaboklab(35.16% 0.1025 -0.0922)
OKLCHoklch(35.16% 0.138 318)
XYZxyz(6.7765, 3.7213, 13.4553)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571968 #2A6819
analogous
#301968 #571968 #681951
triadic
#571968 #685719 #196857
tetradic
#571968 #683019 #2A6819 #195168
square
#571968 #683019 #2A6819 #195168
split-complementary
#571968 #516819 #196830
monochromatic
#150619 #2E0D37 #571968 #802599 #AA31CB

Accessibility & contrast

On white

12.04
#571968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#571968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571968
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571968#FFFFFF#000000##FFFFFF
##5719681.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#1C3866
Tritanopia (blue-blind)
#56293F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571968;
/* rgb */ color: rgb(87, 25, 104);
/* oklch */ color: oklch(35.2% 0.138 318.0);
Tailwind
colors: {
  custom: {
    50: '#895c94',
    500: '#571968',
    950: '#000000',
  },
}
SCSS
$custom: #571968;
$custom-light: #895c94;
$custom-dark: #000000;
JSON
{
  "hex": "#571968",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 287.089,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35164,
    "c": 0.13788,
    "h": 318
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#571968
secondary
#539E3F
accent
#E44366
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571968

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

Preview Lab → · Contrast checker → · Palette generator →

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