#561972#561972

#561972 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.147 H 312.6°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#561972
RGBrgb(86, 25, 114)
HSLhsl(281, 64%, 27%)
HSVhsv(281, 78%, 45%)
CMYKcmyk(24.6%, 78.1%, 0%, 55.3%)
CIE-LABlab(23.30, 42.38, -38.41)
CIE-LCHlch(23.30, 57.19, 317.81°)
OKLaboklab(35.77% 0.0997 -0.1086)
OKLCHoklch(35.77% 0.147 312.6)
XYZxyz(7.2221, 3.8888, 16.2865)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561972 #357219
analogous
#2A1972 #561972 #721961
triadic
#561972 #725619 #197256
tetradic
#561972 #722A19 #357219 #196172
square
#561972 #722A19 #357219 #196172
split-complementary
#561972 #617219 #19722A
monochromatic
#130619 #300E40 #561972 #7C24A4 #A033D2

Accessibility & contrast

On white

11.81
#561972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#561972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561972
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561972#FFFFFF#000000##FFFFFF
##5619721.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#0D3970
Tritanopia (blue-blind)
#532D44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #561972;
/* rgb */ color: rgb(86, 25, 114);
/* oklch */ color: oklch(35.8% 0.147 312.6);
Tailwind
colors: {
  custom: {
    50: '#895d9b',
    500: '#561972',
    950: '#000000',
  },
}
SCSS
$custom: #561972;
$custom-light: #895d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#561972",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 281.124,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35772,
    "c": 0.14744,
    "h": 312.6
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#561972
secondary
#60A740
accent
#E74175
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561972

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

Preview Lab → · Contrast checker → · Palette generator →

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