#561270#561270

#561270 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.153 H 314.1°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#561270
RGBrgb(86, 18, 112)
HSLhsl(283, 72%, 25%)
HSVhsv(283, 84%, 44%)
CMYKcmyk(23.2%, 83.9%, 0%, 56.1%)
CIE-LABlab(22.24, 44.56, -38.84)
CIE-LCHlch(22.24, 59.11, 318.92°)
OKLaboklab(34.97% 0.1066 -0.1098)
OKLCHoklch(34.97% 0.153 314.1)
XYZxyz(6.9782, 3.5811, 15.6497)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561270 #2C7012
analogous
#271270 #561270 #70125B
triadic
#561270 #705612 #127056
tetradic
#561270 #702712 #2C7012 #125B70
square
#561270 #702712 #2C7012 #125B70
split-complementary
#561270 #5B7012 #127027
monochromatic
#14041A #2E0A3B #561270 #7E1AA5 #A723D9

Accessibility & contrast

On white

12.24
#561270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#561270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561270
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561270#FFFFFF#000000##FFFFFF
##5612701.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#08376E
Tritanopia (blue-blind)
#532942
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #561270;
/* rgb */ color: rgb(86, 18, 112);
/* oklch */ color: oklch(35.0% 0.153 314.1);
Tailwind
colors: {
  custom: {
    50: '#895a9a',
    500: '#561270',
    950: '#000000',
  },
}
SCSS
$custom: #561270;
$custom-light: #895a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#561270",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 112
  },
  "hsl": {
    "h": 283.404,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34972,
    "c": 0.15302,
    "h": 314.1
  },
  "luminance": 0.03581
}

Semantic roles & 50–950 ramp

primary
#561270
secondary
#56A737
accent
#EF396B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561270

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

Preview Lab → · Contrast checker → · Palette generator →

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