#561F6E#561F6E

#561F6E is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.1% C 0.136 H 313.7°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#561F6E
RGBrgb(86, 31, 110)
HSLhsl(282, 56%, 28%)
HSVhsv(282, 72%, 43%)
CMYKcmyk(21.8%, 71.8%, 0%, 56.9%)
CIE-LABlab(23.95, 38.80, -34.79)
CIE-LCHlch(23.95, 52.11, 318.12°)
OKLaboklab(36.14% 0.0936 -0.098)
OKLCHoklch(36.14% 0.136 313.7)
XYZxyz(7.1417, 4.0844, 15.1610)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F6E #376E1F
analogous
#2E1F6E #561F6E #6E1F5E
triadic
#561F6E #6E561F #1F6E56
tetradic
#561F6E #6E2E1F #376E1F #1F5E6E
square
#561F6E #6E2E1F #376E1F #1F5E6E
split-complementary
#561F6E #5E6E1F #1F6E2E
monochromatic
#130718 #31123E #561F6E #7B2C9E #9F3FC9

Accessibility & contrast

On white

11.56
#561F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#561F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F6E
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F6E#FFFFFF#000000##FFFFFF
##561F6E1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#1A3A6C
Tritanopia (blue-blind)
#542F44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561f6e;
/* rgb */ color: rgb(86, 31, 110);
/* oklch */ color: oklch(36.1% 0.136 313.7);
Tailwind
colors: {
  custom: {
    50: '#896098',
    500: '#561f6e',
    950: '#000000',
  },
}
SCSS
$custom: #561f6e;
$custom-light: #896098;
$custom-dark: #000000;
JSON
{
  "hex": "#561f6e",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 281.772,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36139,
    "c": 0.13555,
    "h": 313.7
  },
  "luminance": 0.04084
}

Semantic roles & 50–950 ramp

primary
#561F6E
secondary
#62A247
accent
#DF4876
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #561F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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