#561381#561381

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

Color values

HEX#561381
RGBrgb(86, 19, 129)
HSLhsl(277, 74%, 29%)
HSVhsv(277, 85%, 51%)
CMYKcmyk(33.3%, 85.3%, 0%, 49.4%)
CIE-LABlab(23.77, 48.00, -47.21)
CIE-LCHlch(23.77, 67.32, 315.48°)
OKLaboklab(36.49% 0.1013 -0.1344)
OKLCHoklch(36.49% 0.168 307)
XYZxyz(8.0322, 4.0293, 21.1192)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561381 #3E8113
analogous
#1F1381 #561381 #811375
triadic
#561381 #815613 #138156
tetradic
#561381 #811F13 #3E8113 #137581
square
#561381 #811F13 #3E8113 #137581
split-complementary
#561381 #758113 #13811F
monochromatic
#12041B #320B4C #561381 #7A1BB6 #9B2EE0

Accessibility & contrast

On white

11.63
#561381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#561381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561381
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561381#FFFFFF#000000##FFFFFF
##5613811.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561381;
/* rgb */ color: rgb(86, 19, 129);
/* oklch */ color: oklch(36.5% 0.168 307.0);
Tailwind
colors: {
  custom: {
    50: '#8b5ba6',
    500: '#561381',
    950: '#000000',
  },
}
SCSS
$custom: #561381;
$custom-light: #8b5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#561381",
  "rgb": {
    "r": 86,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 276.545,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36485,
    "c": 0.16829,
    "h": 307
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

primary
#561381
secondary
#6AB63A
accent
#F13780
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #561381

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

Preview Lab → · Contrast checker → · Palette generator →

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