#561171#561171

#561171 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.155 H 313.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#561171
RGBrgb(86, 17, 113)
HSLhsl(283, 74%, 25%)
HSVhsv(283, 85%, 44%)
CMYKcmyk(23.9%, 85%, 0%, 55.7%)
CIE-LABlab(22.20, 45.10, -39.54)
CIE-LCHlch(22.20, 59.98, 318.76°)
OKLaboklab(34.97% 0.1071 -0.1119)
OKLCHoklch(34.97% 0.155 313.8)
XYZxyz(7.0183, 3.5718, 15.9393)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561171 #2C7111
analogous
#261171 #561171 #71115C
triadic
#561171 #715611 #117156
tetradic
#561171 #712611 #2C7111 #115C71
square
#561171 #712611 #2C7111 #115C71
split-complementary
#561171 #5C7111 #117126
monochromatic
#14041B #2E093C #561171 #7E19A6 #A721DB

Accessibility & contrast

On white

12.25
#561171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#561171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561171
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561171#FFFFFF#000000##FFFFFF
##5611711.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#04376F
Tritanopia (blue-blind)
#532942
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #561171;
/* rgb */ color: rgb(86, 17, 113);
/* oklch */ color: oklch(35.0% 0.155 313.8);
Tailwind
colors: {
  custom: {
    50: '#8a599a',
    500: '#561171',
    950: '#000000',
  },
}
SCSS
$custom: #561171;
$custom-light: #8a599a;
$custom-dark: #000000;
JSON
{
  "hex": "#561171",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 283.125,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34974,
    "c": 0.1549,
    "h": 313.8
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#561171
secondary
#56A836
accent
#F1376B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561171

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

Preview Lab → · Contrast checker → · Palette generator →

#561171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva