#561254#561254

#561254 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 32.9% C 0.128 H 329.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#561254
RGBrgb(86, 18, 84)
HSLhsl(302, 65%, 20%)
HSVhsv(302, 79%, 34%)
CMYKcmyk(0%, 79.1%, 2.3%, 66.3%)
CIE-LABlab(20.25, 38.94, -23.57)
CIE-LCHlch(20.25, 45.51, 328.82°)
OKLaboklab(32.93% 0.1097 -0.0651)
OKLCHoklch(32.93% 0.128 329.3)
XYZxyz(5.6542, 3.0516, 8.6770)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561254 #125614
analogous
#361256 #561254 #561232
triadic
#561254 #545612 #125456
tetradic
#561254 #563612 #125614 #123256
square
#561254 #563612 #125614 #123256
split-complementary
#561254 #325612 #125636
monochromatic
#190519 #230723 #561254 #891D85 #BB27B7

Accessibility & contrast

On white

13.04
#561254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#561254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561254
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561254#FFFFFF#000000##FFFFFF
##5612541.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082B56
Deuteranopia (green-blind)
#263452
Tritanopia (blue-blind)
#591C32
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #561254;
/* rgb */ color: rgb(86, 18, 84);
/* oklch */ color: oklch(32.9% 0.128 329.3);
Tailwind
colors: {
  custom: {
    50: '#885884',
    500: '#561254',
    950: '#000000',
  },
}
SCSS
$custom: #561254;
$custom-light: #885884;
$custom-dark: #000000;
JSON
{
  "hex": "#561254",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 301.765,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32933,
    "c": 0.12757,
    "h": 329.3
  },
  "luminance": 0.03051
}

Semantic roles & 50–950 ramp

primary
#561254
secondary
#358F38
accent
#E8443F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #561254

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

Preview Lab → · Contrast checker → · Palette generator →

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