#571254#571254

#571254 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.128 H 329.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#571254
RGBrgb(87, 18, 84)
HSLhsl(303, 66%, 21%)
HSVhsv(303, 79%, 34%)
CMYKcmyk(0%, 79.3%, 3.4%, 65.9%)
CIE-LABlab(20.44, 39.19, -23.26)
CIE-LCHlch(20.44, 45.57, 329.31°)
OKLaboklab(33.1% 0.1109 -0.0642)
OKLCHoklch(33.1% 0.128 329.9)
XYZxyz(5.7470, 3.0994, 8.6813)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571254 #125715
analogous
#371257 #571254 #571231
triadic
#571254 #545712 #125457
tetradic
#571254 #573712 #125715 #123157
square
#571254 #573712 #125715 #123157
split-complementary
#571254 #315712 #125737
monochromatic
#190518 #240823 #571254 #8A1C85 #BC27B6

Accessibility & contrast

On white

12.96
#571254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#571254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571254
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571254#FFFFFF#000000##FFFFFF
##5712541.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092B56
Deuteranopia (green-blind)
#273452
Tritanopia (blue-blind)
#5A1B32
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #571254;
/* rgb */ color: rgb(87, 18, 84);
/* oklch */ color: oklch(33.1% 0.128 329.9);
Tailwind
colors: {
  custom: {
    50: '#895884',
    500: '#571254',
    950: '#000000',
  },
}
SCSS
$custom: #571254;
$custom-light: #895884;
$custom-dark: #000000;
JSON
{
  "hex": "#571254",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 302.609,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33104,
    "c": 0.12813,
    "h": 329.9
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#571254
secondary
#359039
accent
#E9473F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571254

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

Preview Lab → · Contrast checker → · Palette generator →

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