#561174#561174

#561174 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.2% C 0.158 H 312.4°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#561174
RGBrgb(86, 17, 116)
HSLhsl(282, 74%, 26%)
HSVhsv(282, 85%, 45%)
CMYKcmyk(25.9%, 85.3%, 0%, 54.5%)
CIE-LABlab(22.45, 45.75, -41.08)
CIE-LCHlch(22.45, 61.48, 318.08°)
OKLaboklab(35.22% 0.1064 -0.1164)
OKLCHoklch(35.22% 0.158 312.4)
XYZxyz(7.1900, 3.6405, 16.8435)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561174 #2F7411
analogous
#241174 #561174 #741160
triadic
#561174 #745611 #117456
tetradic
#561174 #742411 #2F7411 #116074
square
#561174 #742411 #2F7411 #116074
split-complementary
#561174 #607411 #117424
monochromatic
#14041B #2E093F #561174 #7E19A9 #A521DE

Accessibility & contrast

On white

12.15
#561174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#561174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561174
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561174#FFFFFF#000000##FFFFFF
##5611741.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#522B44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #561174;
/* rgb */ color: rgb(86, 17, 116);
/* oklch */ color: oklch(35.2% 0.158 312.4);
Tailwind
colors: {
  custom: {
    50: '#8a5a9d',
    500: '#561174',
    950: '#000000',
  },
}
SCSS
$custom: #561174;
$custom-light: #8a5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#561174",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 281.818,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35221,
    "c": 0.1577,
    "h": 312.4
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#561174
secondary
#59AB36
accent
#F1376F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561174

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

Preview Lab → · Contrast checker → · Palette generator →

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