#561266#561266

#561266 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.144 H 319.0°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#561266
RGBrgb(86, 18, 102)
HSLhsl(289, 70%, 24%)
HSVhsv(289, 82%, 40%)
CMYKcmyk(15.7%, 82.4%, 0%, 60%)
CIE-LABlab(21.47, 42.45, -33.57)
CIE-LCHlch(21.47, 54.12, 321.66°)
OKLaboklab(34.19% 0.1084 -0.0943)
OKLCHoklch(34.19% 0.144 319)
XYZxyz(6.4520, 3.3707, 12.8785)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561266 #226612
analogous
#2C1266 #561266 #66124C
triadic
#561266 #665612 #126656
tetradic
#561266 #662C12 #226612 #124C66
square
#561266 #662C12 #226612 #124C66
split-complementary
#561266 #4C6612 #12662C
monochromatic
#16051A #2A0932 #561266 #821B9A #AE24CE

Accessibility & contrast

On white

12.54
#561266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#561266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561266
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561266#FFFFFF#000000##FFFFFF
##5612661.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#183664
Tritanopia (blue-blind)
#56243C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #561266;
/* rgb */ color: rgb(86, 18, 102);
/* oklch */ color: oklch(34.2% 0.144 319.0);
Tailwind
colors: {
  custom: {
    50: '#895992',
    500: '#561266',
    950: '#000000',
  },
}
SCSS
$custom: #561266;
$custom-light: #895992;
$custom-dark: #000000;
JSON
{
  "hex": "#561266",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 288.571,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34193,
    "c": 0.14371,
    "h": 319
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#561266
secondary
#4A9E36
accent
#ED3B5D
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #561266

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

Preview Lab → · Contrast checker → · Palette generator →

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