#561A90#561A90

#561A90 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.177 H 301.1°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#561A90
RGBrgb(86, 26, 144)
HSLhsl(271, 69%, 33%)
HSVhsv(271, 82%, 56%)
CMYKcmyk(40.3%, 81.9%, 0%, 43.5%)
CIE-LABlab(25.95, 49.07, -53.02)
CIE-LCHlch(25.95, 72.24, 312.79°)
OKLaboklab(38.42% 0.0913 -0.1515)
OKLCHoklch(38.42% 0.177 301.1)
XYZxyz(9.2399, 4.7308, 26.8065)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A90 #54901A
analogous
#1B1A90 #561A90 #901A8F
triadic
#561A90 #90561A #1A9056
tetradic
#561A90 #901B1A #54901A #1A8F90
square
#561A90 #901B1A #54901A #1A8F90
split-complementary
#561A90 #8F901A #1A901B
monochromatic
#180728 #37115C #561A90 #7523C4 #9347DE

Accessibility & contrast

On white

10.79
#561A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#561A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A90
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A90#FFFFFF#000000##FFFFFF
##561A901.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#493B56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561a90;
/* rgb */ color: rgb(86, 26, 144);
/* oklch */ color: oklch(38.4% 0.177 301.1);
Tailwind
colors: {
  custom: {
    50: '#8c5fb1',
    500: '#561a90',
    950: '#000000',
  },
}
SCSS
$custom: #561a90;
$custom-light: #8c5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#561a90",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 270.508,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38415,
    "c": 0.17692,
    "h": 301.1
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#561A90
secondary
#82BF47
accent
#EC3C92
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #561A90

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

Preview Lab → · Contrast checker → · Palette generator →

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