#561256#561256

#561256 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.129 H 328.0°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#561256
RGBrgb(86, 18, 86)
HSLhsl(300, 65%, 20%)
HSVhsv(300, 79%, 34%)
CMYKcmyk(0%, 79.1%, 0%, 66.3%)
CIE-LABlab(20.37, 39.31, -24.71)
CIE-LCHlch(20.37, 46.43, 327.84°)
OKLaboklab(33.06% 0.1097 -0.0685)
OKLCHoklch(33.06% 0.129 328)
XYZxyz(5.7337, 3.0833, 9.0954)
Luminance0.0308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561256 #125612
analogous
#341256 #561256 #561234
triadic
#561256 #565612 #125656
tetradic
#561256 #563412 #125612 #123456
square
#561256 #563412 #125612 #123456
split-complementary
#561256 #345612 #125634
monochromatic
#190519 #230723 #561256 #891D89 #BB27BB

Accessibility & contrast

On white

12.99
#561256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#561256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561256
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561256#FFFFFF#000000##FFFFFF
##5612561.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052B58
Deuteranopia (green-blind)
#253454
Tritanopia (blue-blind)
#591D33
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #561256;
/* rgb */ color: rgb(86, 18, 86);
/* oklch */ color: oklch(33.1% 0.129 328.0);
Tailwind
colors: {
  custom: {
    50: '#885886',
    500: '#561256',
    950: '#000000',
  },
}
SCSS
$custom: #561256;
$custom-light: #885886;
$custom-dark: #000000;
JSON
{
  "hex": "#561256",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 300,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.33063,
    "c": 0.1293,
    "h": 328
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#561256
secondary
#358F35
accent
#E83F3F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #561256

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

Preview Lab → · Contrast checker → · Palette generator →

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