#561474#561474

#561474 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.5% C 0.155 H 312.2°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#561474
RGBrgb(86, 20, 116)
HSLhsl(281, 71%, 27%)
HSVhsv(281, 83%, 45%)
CMYKcmyk(25.9%, 82.8%, 0%, 54.5%)
CIE-LABlab(22.79, 44.74, -40.52)
CIE-LCHlch(22.79, 60.36, 317.84°)
OKLaboklab(35.46% 0.104 -0.1147)
OKLCHoklch(35.46% 0.155 312.2)
XYZxyz(7.2397, 3.7399, 16.8601)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561474 #327414
analogous
#261474 #561474 #741462
triadic
#561474 #745614 #147456
tetradic
#561474 #742614 #327414 #146274
square
#561474 #742614 #327414 #146274
split-complementary
#561474 #627414 #147426
monochromatic
#13051A #2F0B40 #561474 #7D1DA8 #A328DA

Accessibility & contrast

On white

12.01
#561474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#561474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561474
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561474#FFFFFF#000000##FFFFFF
##5614741.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#013872
Tritanopia (blue-blind)
#522C44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #561474;
/* rgb */ color: rgb(86, 20, 116);
/* oklch */ color: oklch(35.5% 0.155 312.2);
Tailwind
colors: {
  custom: {
    50: '#8a5b9d',
    500: '#561474',
    950: '#000000',
  },
}
SCSS
$custom: #561474;
$custom-light: #8a5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#561474",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 281.25,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35463,
    "c": 0.15485,
    "h": 312.2
  },
  "luminance": 0.0374
}

Semantic roles & 50–950 ramp

primary
#561474
secondary
#5DAA3A
accent
#ED3A72
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561474

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

Preview Lab → · Contrast checker → · Palette generator →

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