#561B63#561B63

#561B63 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 34.9% C 0.130 H 319.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#561B63
RGBrgb(86, 27, 99)
HSLhsl(289, 57%, 25%)
HSVhsv(289, 73%, 39%)
CMYKcmyk(13.1%, 72.7%, 0%, 61.2%)
CIE-LABlab(22.53, 38.21, -29.91)
CIE-LCHlch(22.53, 48.53, 321.95°)
OKLaboklab(34.88% 0.0992 -0.0837)
OKLCHoklch(34.88% 0.13 319.8)
XYZxyz(6.4815, 3.6635, 12.1677)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B63 #28631B
analogous
#321B63 #561B63 #631B4C
triadic
#561B63 #63561B #1B6356
tetradic
#561B63 #63321B #28631B #1B4C63
square
#561B63 #63321B #28631B #1B4C63
split-complementary
#561B63 #4C631B #1B6332
monochromatic
#150718 #2C0E33 #561B63 #802893 #AA35C3

Accessibility & contrast

On white

12.12
#561B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#561B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B63
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B63#FFFFFF#000000##FFFFFF
##561B631.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003265
Deuteranopia (green-blind)
#213861
Tritanopia (blue-blind)
#56283D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #561b63;
/* rgb */ color: rgb(86, 27, 99);
/* oklch */ color: oklch(34.9% 0.130 319.8);
Tailwind
colors: {
  custom: {
    50: '#885d90',
    500: '#561b63',
    950: '#000000',
  },
}
SCSS
$custom: #561b63;
$custom-light: #885d90;
$custom-dark: #000000;
JSON
{
  "hex": "#561b63",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 289.167,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34877,
    "c": 0.12978,
    "h": 319.8
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#561B63
secondary
#519841
accent
#E04763
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #561B63

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

Preview Lab → · Contrast checker → · Palette generator →

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