#561A8F#561A8F

#561A8F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.176 H 301.4°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#561A8F
RGBrgb(86, 26, 143)
HSLhsl(271, 69%, 33%)
HSVhsv(271, 82%, 56%)
CMYKcmyk(39.9%, 81.8%, 0%, 43.9%)
CIE-LABlab(25.86, 48.83, -52.54)
CIE-LCHlch(25.86, 71.73, 312.90°)
OKLaboklab(38.32% 0.0916 -0.1501)
OKLCHoklch(38.32% 0.176 301.4)
XYZxyz(9.1639, 4.7003, 26.4057)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A8F #538F1A
analogous
#1B1A8F #561A8F #8F1A8D
triadic
#561A8F #8F561A #1A8F56
tetradic
#561A8F #8F1B1A #538F1A #1A8D8F
square
#561A8F #8F1B1A #538F1A #1A8D8F
split-complementary
#561A8F #8D8F1A #1A8F1B
monochromatic
#180727 #37115B #561A8F #7523C3 #9446DD

Accessibility & contrast

On white

10.82
#561A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#561A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A8F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A8F#FFFFFF#000000##FFFFFF
##561A8F1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#493A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561a8f;
/* rgb */ color: rgb(86, 26, 143);
/* oklch */ color: oklch(38.3% 0.176 301.4);
Tailwind
colors: {
  custom: {
    50: '#8c5fb1',
    500: '#561a8f',
    950: '#000000',
  },
}
SCSS
$custom: #561a8f;
$custom-light: #8c5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#561a8f",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 270.769,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38324,
    "c": 0.17589,
    "h": 301.4
  },
  "luminance": 0.047
}

Semantic roles & 50–950 ramp

primary
#561A8F
secondary
#81BF46
accent
#EC3C92
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #561A8F

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

Preview Lab → · Contrast checker → · Palette generator →

#561A8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva