#571255#571255

#571255 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.129 H 329.3°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#571255
RGBrgb(87, 18, 85)
HSLhsl(302, 66%, 21%)
HSVhsv(302, 79%, 34%)
CMYKcmyk(0%, 79.3%, 2.3%, 65.9%)
CIE-LABlab(20.50, 39.37, -23.83)
CIE-LCHlch(20.50, 46.02, 328.81°)
OKLaboklab(33.17% 0.1109 -0.0659)
OKLCHoklch(33.17% 0.129 329.3)
XYZxyz(5.7864, 3.1152, 8.8891)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571255 #125714
analogous
#361257 #571255 #571232
triadic
#571255 #555712 #125557
tetradic
#571255 #573612 #125714 #123257
square
#571255 #573612 #125714 #123257
split-complementary
#571255 #325712 #125736
monochromatic
#190519 #240823 #571255 #8A1C87 #BC27B8

Accessibility & contrast

On white

12.94
#571255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571255
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571255#FFFFFF#000000##FFFFFF
##5712551.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072C57
Deuteranopia (green-blind)
#263553
Tritanopia (blue-blind)
#5A1C32
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #571255;
/* rgb */ color: rgb(87, 18, 85);
/* oklch */ color: oklch(33.2% 0.129 329.3);
Tailwind
colors: {
  custom: {
    50: '#895885',
    500: '#571255',
    950: '#000000',
  },
}
SCSS
$custom: #571255;
$custom-light: #895885;
$custom-dark: #000000;
JSON
{
  "hex": "#571255",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 301.739,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33168,
    "c": 0.12899,
    "h": 329.3
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#571255
secondary
#359038
accent
#E9443F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571255

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

Preview Lab → · Contrast checker → · Palette generator →

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