#561271#561271

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

Color values

HEX#561271
RGBrgb(86, 18, 113)
HSLhsl(283, 73%, 26%)
HSVhsv(283, 84%, 44%)
CMYKcmyk(23.9%, 84.1%, 0%, 55.7%)
CIE-LABlab(22.31, 44.77, -39.36)
CIE-LCHlch(22.31, 59.61, 318.68°)
OKLaboklab(35.05% 0.1063 -0.1113)
OKLCHoklch(35.05% 0.154 313.7)
XYZxyz(7.0342, 3.6035, 15.9446)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561271 #2D7112
analogous
#261271 #561271 #71125C
triadic
#561271 #715612 #127156
tetradic
#561271 #712612 #2D7112 #125C71
square
#561271 #712612 #2D7112 #125C71
split-complementary
#561271 #5C7112 #127126
monochromatic
#14041A #2E0A3C #561271 #7E1AA6 #A623DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##561271#FFFFFF#000000##FFFFFF
##5612711.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)
#003274
Deuteranopia (green-blind)
#06376F
Tritanopia (blue-blind)
#532A42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #561271;
/* rgb */ color: rgb(86, 18, 113);
/* oklch */ color: oklch(35.1% 0.154 313.7);
Tailwind
colors: {
  custom: {
    50: '#8a5a9a',
    500: '#561271',
    950: '#000000',
  },
}
SCSS
$custom: #561271;
$custom-light: #8a5a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#561271",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 282.947,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35053,
    "c": 0.15396,
    "h": 313.7
  },
  "luminance": 0.03603
}

Semantic roles & 50–950 ramp

primary
#561271
secondary
#57A837
accent
#EF396C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561271

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

Preview Lab → · Contrast checker → · Palette generator →

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