#561172#561172

#561172 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.156 H 313.3°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#561172
RGBrgb(86, 17, 114)
HSLhsl(283, 74%, 26%)
HSVhsv(283, 85%, 45%)
CMYKcmyk(24.6%, 85.1%, 0%, 55.3%)
CIE-LABlab(22.28, 45.32, -40.05)
CIE-LCHlch(22.28, 60.48, 318.53°)
OKLaboklab(35.06% 0.1069 -0.1134)
OKLCHoklch(35.06% 0.156 313.3)
XYZxyz(7.0749, 3.5945, 16.2374)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561172 #2D7211
analogous
#251172 #561172 #72115D
triadic
#561172 #725611 #117256
tetradic
#561172 #722511 #2D7211 #115D72
square
#561172 #722511 #2D7211 #115D72
split-complementary
#561172 #5D7211 #117225
monochromatic
#14041B #2E093D #561172 #7E19A7 #A621DD

Accessibility & contrast

On white

12.22
#561172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#561172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561172
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561172#FFFFFF#000000##FFFFFF
##5611721.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#023770
Tritanopia (blue-blind)
#532A43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #561172;
/* rgb */ color: rgb(86, 17, 114);
/* oklch */ color: oklch(35.1% 0.156 313.3);
Tailwind
colors: {
  custom: {
    50: '#8a599b',
    500: '#561172',
    950: '#000000',
  },
}
SCSS
$custom: #561172;
$custom-light: #8a599b;
$custom-dark: #000000;
JSON
{
  "hex": "#561172",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 282.68,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35056,
    "c": 0.15584,
    "h": 313.3
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#561172
secondary
#57A936
accent
#F1376D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561172

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

Preview Lab → · Contrast checker → · Palette generator →

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