#561F68#561F68

#561F68 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.7% C 0.129 H 316.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#561F68
RGBrgb(86, 31, 104)
HSLhsl(285, 54%, 26%)
HSVhsv(285, 70%, 41%)
CMYKcmyk(17.3%, 70.2%, 0%, 59.2%)
CIE-LABlab(23.53, 37.43, -31.57)
CIE-LCHlch(23.53, 48.97, 319.86°)
OKLaboklab(35.71% 0.094 -0.0886)
OKLCHoklch(35.71% 0.129 316.7)
XYZxyz(6.8261, 3.9581, 13.4985)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F68 #31681F
analogous
#321F68 #561F68 #681F56
triadic
#561F68 #68561F #1F6856
tetradic
#561F68 #68321F #31681F #1F5668
square
#561F68 #68321F #31681F #1F5668
split-complementary
#561F68 #56681F #1F6832
monochromatic
#130718 #2F1139 #561F68 #7D2D97 #A33CC5

Accessibility & contrast

On white

11.72
#561F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#561F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F68
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F68#FFFFFF#000000##FFFFFF
##561F681.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01356A
Deuteranopia (green-blind)
#203A66
Tritanopia (blue-blind)
#552D40
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #561f68;
/* rgb */ color: rgb(86, 31, 104);
/* oklch */ color: oklch(35.7% 0.129 316.7);
Tailwind
colors: {
  custom: {
    50: '#885f93',
    500: '#561f68',
    950: '#000000',
  },
}
SCSS
$custom: #561f68;
$custom-light: #885f93;
$custom-dark: #000000;
JSON
{
  "hex": "#561f68",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 285.205,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35707,
    "c": 0.12918,
    "h": 316.7
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#561F68
secondary
#5C9C46
accent
#DD4A6F
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #561F68

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

Preview Lab → · Contrast checker → · Palette generator →

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