#561281#561281

#561281 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.169 H 307.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#561281
RGBrgb(86, 18, 129)
HSLhsl(277, 76%, 29%)
HSVhsv(277, 86%, 51%)
CMYKcmyk(33.3%, 86%, 0%, 49.4%)
CIE-LABlab(23.66, 48.32, -47.38)
CIE-LCHlch(23.66, 67.68, 315.56°)
OKLaboklab(36.41% 0.102 -0.1349)
OKLCHoklch(36.41% 0.169 307.1)
XYZxyz(8.0156, 3.9961, 21.1137)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561281 #3D8112
analogous
#1F1281 #561281 #811275
triadic
#561281 #815612 #128156
tetradic
#561281 #811F12 #3D8112 #127581
square
#561281 #811F12 #3D8112 #127581
split-complementary
#561281 #758112 #12811F
monochromatic
#12041B #320B4B #561281 #7A19B7 #9B2CE2

Accessibility & contrast

On white

11.67
#561281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#561281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561281
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561281#FFFFFF#000000##FFFFFF
##5612811.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#4E314C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #561281;
/* rgb */ color: rgb(86, 18, 129);
/* oklch */ color: oklch(36.4% 0.169 307.1);
Tailwind
colors: {
  custom: {
    50: '#8b5ba6',
    500: '#561281',
    950: '#000000',
  },
}
SCSS
$custom: #561281;
$custom-light: #8b5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#561281",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 129
  },
  "hsl": {
    "h": 276.757,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36409,
    "c": 0.16913,
    "h": 307.1
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#561281
secondary
#69B738
accent
#F2367F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #561281

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

Preview Lab → · Contrast checker → · Palette generator →

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