#571362#571362

#571362 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.139 H 321.6°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#571362
RGBrgb(87, 19, 98)
HSLhsl(292, 68%, 23%)
HSVhsv(292, 81%, 38%)
CMYKcmyk(11.2%, 80.6%, 0%, 61.6%)
CIE-LABlab(21.48, 41.50, -30.91)
CIE-LCHlch(21.48, 51.75, 323.32°)
OKLaboklab(34.15% 0.1093 -0.0865)
OKLCHoklch(34.15% 0.139 321.6)
XYZxyz(6.3677, 3.3742, 11.8688)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571362 #1E6213
analogous
#301362 #571362 #621345
triadic
#571362 #625713 #136257
tetradic
#571362 #623013 #1E6213 #134562
square
#571362 #623013 #1E6213 #134562
split-complementary
#571362 #456213 #136230
monochromatic
#17051A #29092F #571362 #851D95 #B227C9

Accessibility & contrast

On white

12.54
#571362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#571362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571362
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571362#FFFFFF#000000##FFFFFF
##5713621.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F64
Deuteranopia (green-blind)
#1E3660
Tritanopia (blue-blind)
#58233A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571362;
/* rgb */ color: rgb(87, 19, 98);
/* oklch */ color: oklch(34.1% 0.139 321.6);
Tailwind
colors: {
  custom: {
    50: '#895a8f',
    500: '#571362',
    950: '#000000',
  },
}
SCSS
$custom: #571362;
$custom-light: #895a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#571362",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 291.646,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34146,
    "c": 0.13938,
    "h": 321.6
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#571362
secondary
#459A37
accent
#EA3D55
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #571362

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

Preview Lab → · Contrast checker → · Palette generator →

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