#561173#561173

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

Color values

HEX#561173
RGBrgb(86, 17, 115)
HSLhsl(282, 74%, 26%)
HSVhsv(282, 85%, 45%)
CMYKcmyk(25.2%, 85.2%, 0%, 54.9%)
CIE-LABlab(22.36, 45.53, -40.57)
CIE-LCHlch(22.36, 60.98, 318.30°)
OKLaboklab(35.14% 0.1067 -0.1149)
OKLCHoklch(35.14% 0.157 312.9)
XYZxyz(7.1322, 3.6174, 16.5388)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561173 #2E7311
analogous
#251173 #561173 #73115F
triadic
#561173 #735611 #117356
tetradic
#561173 #732511 #2E7311 #115F73
square
#561173 #732511 #2E7311 #115F73
split-complementary
#561173 #5F7311 #117325
monochromatic
#14041B #2E093E #561173 #7E19A8 #A621DE

Accessibility & contrast

On white

12.19
#561173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561173
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561173#FFFFFF#000000##FFFFFF
##5611731.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561173;
/* rgb */ color: rgb(86, 17, 115);
/* oklch */ color: oklch(35.1% 0.157 312.9);
Tailwind
colors: {
  custom: {
    50: '#8a5a9c',
    500: '#561173',
    950: '#000000',
  },
}
SCSS
$custom: #561173;
$custom-light: #8a5a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#561173",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 282.245,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35138,
    "c": 0.15677,
    "h": 312.9
  },
  "luminance": 0.03617
}

Semantic roles & 50–950 ramp

primary
#561173
secondary
#58AA36
accent
#F1376E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561173

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

Preview Lab → · Contrast checker → · Palette generator →

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