#561F71#561F71

#561F71 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.4% C 0.139 H 312.3°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#561F71
RGBrgb(86, 31, 113)
HSLhsl(280, 57%, 28%)
HSVhsv(280, 73%, 44%)
CMYKcmyk(23.9%, 72.6%, 0%, 55.7%)
CIE-LABlab(24.16, 39.49, -36.37)
CIE-LCHlch(24.16, 53.69, 317.36°)
OKLaboklab(36.36% 0.0933 -0.1027)
OKLCHoklch(36.36% 0.139 312.3)
XYZxyz(7.3078, 4.1509, 16.0358)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F71 #3A711F
analogous
#2D1F71 #561F71 #711F63
triadic
#561F71 #71561F #1F7156
tetradic
#561F71 #712D1F #3A711F #1F6371
square
#561F71 #712D1F #3A711F #1F6371
split-complementary
#561F71 #63711F #1F712D
monochromatic
#120718 #311241 #561F71 #7B2CA1 #9D40CB

Accessibility & contrast

On white

11.47
#561F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#561F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F71
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F71#FFFFFF#000000##FFFFFF
##561F711.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#173B6F
Tritanopia (blue-blind)
#533045
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561f71;
/* rgb */ color: rgb(86, 31, 113);
/* oklch */ color: oklch(36.4% 0.139 312.3);
Tailwind
colors: {
  custom: {
    50: '#89609a',
    500: '#561f71',
    950: '#000000',
  },
}
SCSS
$custom: #561f71;
$custom-light: #89609a;
$custom-dark: #000000;
JSON
{
  "hex": "#561f71",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 280.244,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36362,
    "c": 0.13874,
    "h": 312.3
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#561F71
secondary
#66A547
accent
#E0487A
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #561F71

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

Preview Lab → · Contrast checker → · Palette generator →

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