#571864#571864

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

Color values

HEX#571864
RGBrgb(87, 24, 100)
HSLhsl(290, 61%, 24%)
HSVhsv(290, 76%, 39%)
CMYKcmyk(13%, 76%, 0%, 60.8%)
CIE-LABlab(22.30, 39.97, -30.91)
CIE-LCHlch(22.30, 50.53, 322.28°)
OKLaboklab(34.77% 0.1039 -0.0866)
OKLCHoklch(34.77% 0.135 320.2)
XYZxyz(6.5571, 3.5999, 12.4036)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571864 #256418
analogous
#311864 #571864 #64184B
triadic
#571864 #645718 #186457
tetradic
#571864 #643118 #256418 #184B64
square
#571864 #643118 #256418 #184B64
split-complementary
#571864 #4B6418 #186431
monochromatic
#150619 #2C0C33 #571864 #822495 #AD30C7

Accessibility & contrast

On white

12.21
#571864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#571864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571864
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571864#FFFFFF#000000##FFFFFF
##5718641.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#1F3862
Tritanopia (blue-blind)
#57273C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571864;
/* rgb */ color: rgb(87, 24, 100);
/* oklch */ color: oklch(34.8% 0.135 320.2);
Tailwind
colors: {
  custom: {
    50: '#895c90',
    500: '#571864',
    950: '#000000',
  },
}
SCSS
$custom: #571864;
$custom-light: #895c90;
$custom-dark: #000000;
JSON
{
  "hex": "#571864",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 289.737,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34772,
    "c": 0.13525,
    "h": 320.2
  },
  "luminance": 0.036
}

Semantic roles & 50–950 ramp

primary
#571864
secondary
#4D9A3E
accent
#E4435F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #571864

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

Preview Lab → · Contrast checker → · Palette generator →

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