#571264#571264

#571264 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.142 H 320.6°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#571264
RGBrgb(87, 18, 100)
HSLhsl(290, 69%, 23%)
HSVhsv(290, 82%, 39%)
CMYKcmyk(13%, 82%, 0%, 60.8%)
CIE-LABlab(21.50, 42.26, -32.20)
CIE-LCHlch(21.50, 53.13, 322.70°)
OKLaboklab(34.2% 0.11 -0.0903)
OKLCHoklch(34.2% 0.142 320.6)
XYZxyz(6.4468, 3.3793, 12.3668)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571264 #1F6412
analogous
#2E1264 #571264 #641248
triadic
#571264 #645712 #126457
tetradic
#571264 #642E12 #1F6412 #124864
square
#571264 #642E12 #1F6412 #124864
split-complementary
#571264 #486412 #12642E
monochromatic
#17051A #2A0930 #571264 #841B98 #B125CC

Accessibility & contrast

On white

12.53
#571264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571264
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571264#FFFFFF#000000##FFFFFF
##5712641.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#1B3662
Tritanopia (blue-blind)
#57233B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571264;
/* rgb */ color: rgb(87, 18, 100);
/* oklch */ color: oklch(34.2% 0.142 320.6);
Tailwind
colors: {
  custom: {
    50: '#8a5991',
    500: '#571264',
    950: '#000000',
  },
}
SCSS
$custom: #571264;
$custom-light: #8a5991;
$custom-dark: #000000;
JSON
{
  "hex": "#571264",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 290.488,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34204,
    "c": 0.1423,
    "h": 320.6
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#571264
secondary
#469C36
accent
#EC3B58
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040D
muted
#7D797D

Preview Lab

Preview with #571264

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

Preview Lab → · Contrast checker → · Palette generator →

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