#561B72#561B72

#561B72 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.145 H 312.3°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#561B72
RGBrgb(86, 27, 114)
HSLhsl(281, 62%, 28%)
HSVhsv(281, 76%, 45%)
CMYKcmyk(24.6%, 76.3%, 0%, 55.3%)
CIE-LABlab(23.60, 41.53, -37.93)
CIE-LCHlch(23.60, 56.25, 317.60°)
OKLaboklab(35.98% 0.0977 -0.1072)
OKLCHoklch(35.98% 0.145 312.3)
XYZxyz(7.2664, 3.9774, 16.3013)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B72 #37721B
analogous
#2B1B72 #561B72 #721B62
triadic
#561B72 #72561B #1B7256
tetradic
#561B72 #722B1B #37721B #1B6272
square
#561B72 #722B1B #37721B #1B6272
split-complementary
#561B72 #62721B #1B722B
monochromatic
#130619 #310F41 #561B72 #7B27A3 #9F38D0

Accessibility & contrast

On white

11.70
#561B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#561B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B72
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B72#FFFFFF#000000##FFFFFF
##561B721.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#103970
Tritanopia (blue-blind)
#532E45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #561b72;
/* rgb */ color: rgb(86, 27, 114);
/* oklch */ color: oklch(36.0% 0.145 312.3);
Tailwind
colors: {
  custom: {
    50: '#895e9b',
    500: '#561b72',
    950: '#000000',
  },
}
SCSS
$custom: #561b72;
$custom-light: #895e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#561b72",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 280.69,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35981,
    "c": 0.14502,
    "h": 312.3
  },
  "luminance": 0.03977
}

Semantic roles & 50–950 ramp

primary
#561B72
secondary
#62A742
accent
#E54377
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #561B72

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

Preview Lab → · Contrast checker → · Palette generator →

#561B72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva