#561772#561772

#561772 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.150 H 312.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#561772
RGBrgb(86, 23, 114)
HSLhsl(282, 66%, 27%)
HSVhsv(282, 80%, 45%)
CMYKcmyk(24.6%, 79.8%, 0%, 55.3%)
CIE-LABlab(23.02, 43.18, -38.86)
CIE-LCHlch(23.02, 58.09, 318.02°)
OKLaboklab(35.57% 0.1017 -0.1099)
OKLCHoklch(35.57% 0.15 312.8)
XYZxyz(7.1809, 3.8063, 16.2728)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561772 #337217
analogous
#281772 #561772 #721761
triadic
#561772 #725617 #177256
tetradic
#561772 #722817 #337217 #176172
square
#561772 #722817 #337217 #176172
split-complementary
#561772 #617217 #177228
monochromatic
#130519 #300D3F #561772 #7C21A5 #A22ED5

Accessibility & contrast

On white

11.92
#561772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#561772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561772
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561772#FFFFFF#000000##FFFFFF
##5617721.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561772;
/* rgb */ color: rgb(86, 23, 114);
/* oklch */ color: oklch(35.6% 0.150 312.8);
Tailwind
colors: {
  custom: {
    50: '#895c9b',
    500: '#561772',
    950: '#000000',
  },
}
SCSS
$custom: #561772;
$custom-light: #895c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#561772",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 281.538,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35574,
    "c": 0.14974,
    "h": 312.8
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#561772
secondary
#5EA83D
accent
#E93E73
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561772

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

Preview Lab → · Contrast checker → · Palette generator →

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