#561272#561272

#561272 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.155 H 313.2°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#561272
RGBrgb(86, 18, 114)
HSLhsl(283, 73%, 26%)
HSVhsv(283, 84%, 45%)
CMYKcmyk(24.6%, 84.2%, 0%, 55.3%)
CIE-LABlab(22.40, 44.99, -39.87)
CIE-LCHlch(22.40, 60.12, 318.45°)
OKLaboklab(35.13% 0.1061 -0.1128)
OKLCHoklch(35.13% 0.155 313.2)
XYZxyz(7.0908, 3.6262, 16.2427)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561272 #2E7212
analogous
#261272 #561272 #72125E
triadic
#561272 #725612 #127256
tetradic
#561272 #722612 #2E7212 #125E72
square
#561272 #722612 #2E7212 #125E72
split-complementary
#561272 #5E7212 #127226
monochromatic
#14041A #2E0A3D #561272 #7E1AA7 #A623DC

Accessibility & contrast

On white

12.17
#561272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561272
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561272#FFFFFF#000000##FFFFFF
##5612721.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#033770
Tritanopia (blue-blind)
#532A43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #561272;
/* rgb */ color: rgb(86, 18, 114);
/* oklch */ color: oklch(35.1% 0.155 313.2);
Tailwind
colors: {
  custom: {
    50: '#8a5a9b',
    500: '#561272',
    950: '#000000',
  },
}
SCSS
$custom: #561272;
$custom-light: #8a5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#561272",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 282.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35134,
    "c": 0.1549,
    "h": 313.2
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#561272
secondary
#58A937
accent
#EF386E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561272

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

Preview Lab → · Contrast checker → · Palette generator →

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