#561872#561872

#561872 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.7% C 0.149 H 312.7°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#561872
RGBrgb(86, 24, 114)
HSLhsl(281, 65%, 27%)
HSVhsv(281, 79%, 45%)
CMYKcmyk(24.6%, 78.9%, 0%, 55.3%)
CIE-LABlab(23.16, 42.79, -38.64)
CIE-LCHlch(23.16, 57.65, 317.92°)
OKLaboklab(35.67% 0.1007 -0.1093)
OKLCHoklch(35.67% 0.149 312.7)
XYZxyz(7.2011, 3.8468, 16.2795)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561872 #347218
analogous
#291872 #561872 #721861
triadic
#561872 #725618 #187256
tetradic
#561872 #722918 #347218 #186172
square
#561872 #722918 #347218 #186172
split-complementary
#561872 #617218 #187229
monochromatic
#130519 #300D3F #561872 #7C23A5 #A131D4

Accessibility & contrast

On white

11.87
#561872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#561872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561872
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561872#FFFFFF#000000##FFFFFF
##5618721.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#0C3870
Tritanopia (blue-blind)
#532D44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #561872;
/* rgb */ color: rgb(86, 24, 114);
/* oklch */ color: oklch(35.7% 0.149 312.7);
Tailwind
colors: {
  custom: {
    50: '#895c9b',
    500: '#561872',
    950: '#000000',
  },
}
SCSS
$custom: #561872;
$custom-light: #895c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#561872",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 281.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35671,
    "c": 0.1486,
    "h": 312.7
  },
  "luminance": 0.03847
}

Semantic roles & 50–950 ramp

primary
#561872
secondary
#5FA73E
accent
#E84074
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561872

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

Preview Lab → · Contrast checker → · Palette generator →

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