#561F62#561F62

#561F62 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.3% C 0.123 H 320.0°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#561F62
RGBrgb(86, 31, 98)
HSLhsl(289, 52%, 25%)
HSVhsv(289, 68%, 38%)
CMYKcmyk(12.2%, 68.4%, 0%, 61.6%)
CIE-LABlab(23.14, 36.11, -28.28)
CIE-LCHlch(23.14, 45.86, 321.94°)
OKLaboklab(35.3% 0.0942 -0.079)
OKLCHoklch(35.3% 0.123 320)
XYZxyz(6.5321, 3.8406, 11.9501)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F62 #2B621F
analogous
#351F62 #561F62 #621F4C
triadic
#561F62 #62561F #1F6256
tetradic
#561F62 #62351F #2B621F #1F4C62
square
#561F62 #62351F #2B621F #1F4C62
split-complementary
#561F62 #4C621F #1F6235
monochromatic
#140717 #2D1034 #561F62 #7F2E90 #A83CBF

Accessibility & contrast

On white

11.88
#561F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#561F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F62
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F62#FFFFFF#000000##FFFFFF
##561F621.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3364
Deuteranopia (green-blind)
#253960
Tritanopia (blue-blind)
#562A3D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #561f62;
/* rgb */ color: rgb(86, 31, 98);
/* oklch */ color: oklch(35.3% 0.123 320.0);
Tailwind
colors: {
  custom: {
    50: '#885f8f',
    500: '#561f62',
    950: '#000000',
  },
}
SCSS
$custom: #561f62;
$custom-light: #885f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#561f62",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 289.254,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35295,
    "c": 0.1229,
    "h": 320
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#561F62
secondary
#559746
accent
#DB4C66
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #561F62

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

Preview Lab → · Contrast checker → · Palette generator →

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