#561572#561572

#561572 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.4% C 0.152 H 313.0°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#561572
RGBrgb(86, 21, 114)
HSLhsl(282, 69%, 26%)
HSVhsv(282, 82%, 45%)
CMYKcmyk(24.6%, 81.6%, 0%, 55.3%)
CIE-LABlab(22.76, 43.94, -39.28)
CIE-LCHlch(22.76, 58.94, 318.20°)
OKLaboklab(35.39% 0.1035 -0.1111)
OKLCHoklch(35.39% 0.152 313)
XYZxyz(7.1426, 3.7299, 16.2600)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561572 #317215
analogous
#271572 #561572 #721560
triadic
#561572 #725615 #157256
tetradic
#561572 #722715 #317215 #156072
square
#561572 #722715 #317215 #156072
split-complementary
#561572 #607215 #157227
monochromatic
#13051A #2F0B3E #561572 #7D1FA6 #A32AD8

Accessibility & contrast

On white

12.03
#561572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561572
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561572#FFFFFF#000000##FFFFFF
##5615721.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#083870
Tritanopia (blue-blind)
#532B43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #561572;
/* rgb */ color: rgb(86, 21, 114);
/* oklch */ color: oklch(35.4% 0.152 313.0);
Tailwind
colors: {
  custom: {
    50: '#895b9b',
    500: '#561572',
    950: '#000000',
  },
}
SCSS
$custom: #561572;
$custom-light: #895b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#561572",
  "rgb": {
    "r": 86,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 281.935,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35389,
    "c": 0.1519,
    "h": 313
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#561572
secondary
#5CA83B
accent
#EC3C71
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561572

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

Preview Lab → · Contrast checker → · Palette generator →

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