#561F58#561F58

#561F58 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.7% C 0.113 H 326.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#561F58
RGBrgb(86, 31, 88)
HSLhsl(298, 48%, 23%)
HSVhsv(298, 65%, 35%)
CMYKcmyk(2.3%, 64.8%, 0%, 65.5%)
CIE-LABlab(22.53, 34.01, -22.64)
CIE-LCHlch(22.53, 40.86, 326.34°)
OKLaboklab(34.65% 0.0938 -0.0626)
OKLCHoklch(34.65% 0.113 326.3)
XYZxyz(6.0891, 3.6634, 9.6170)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F58 #21581F
analogous
#391F58 #561F58 #581F3D
triadic
#561F58 #58561F #1F5856
tetradic
#561F58 #58391F #21581F #1F3D58
square
#561F58 #58391F #21581F #1F3D58
split-complementary
#561F58 #3D581F #1F5839
monochromatic
#160817 #2A0F2B #561F58 #822F85 #AE3FB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##561F58#FFFFFF#000000##FFFFFF
##561F581.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)
#17315A
Deuteranopia (green-blind)
#2B3856
Tritanopia (blue-blind)
#582738
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #561f58;
/* rgb */ color: rgb(86, 31, 88);
/* oklch */ color: oklch(34.7% 0.113 326.3);
Tailwind
colors: {
  custom: {
    50: '#885f87',
    500: '#561f58',
    950: '#000000',
  },
}
SCSS
$custom: #561f58;
$custom-light: #885f87;
$custom-dark: #000000;
JSON
{
  "hex": "#561f58",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 297.895,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34654,
    "c": 0.11272,
    "h": 326.3
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#561F58
secondary
#498D46
accent
#D75055
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #561F58

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

Preview Lab → · Contrast checker → · Palette generator →

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