#561280#561280

#561280 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.168 H 307.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#561280
RGBrgb(86, 18, 128)
HSLhsl(277, 75%, 29%)
HSVhsv(277, 86%, 50%)
CMYKcmyk(32.8%, 85.9%, 0%, 49.8%)
CIE-LABlab(23.57, 48.10, -46.90)
CIE-LCHlch(23.57, 67.17, 315.72°)
OKLaboklab(36.32% 0.1023 -0.1335)
OKLCHoklch(36.32% 0.168 307.5)
XYZxyz(7.9495, 3.9697, 20.7653)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561280 #3C8012
analogous
#1F1280 #561280 #801273
triadic
#561280 #805612 #128056
tetradic
#561280 #801F12 #3C8012 #127380
square
#561280 #801F12 #3C8012 #127380
split-complementary
#561280 #738012 #12801F
monochromatic
#12041B #320A4A #561280 #7A1AB6 #9C2BE1

Accessibility & contrast

On white

11.71
#561280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#561280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561280
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561280#FFFFFF#000000##FFFFFF
##5612801.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#4F314B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #561280;
/* rgb */ color: rgb(86, 18, 128);
/* oklch */ color: oklch(36.3% 0.168 307.5);
Tailwind
colors: {
  custom: {
    50: '#8b5ba6',
    500: '#561280',
    950: '#000000',
  },
}
SCSS
$custom: #561280;
$custom-light: #8b5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#561280",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 277.091,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36321,
    "c": 0.16817,
    "h": 307.5
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

primary
#561280
secondary
#68B638
accent
#F2367E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #561280

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

Preview Lab → · Contrast checker → · Palette generator →

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