#561F9A#561F9A

#561F9A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.183 H 297.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#561F9A
RGBrgb(86, 31, 154)
HSLhsl(267, 66%, 36%)
HSVhsv(267, 80%, 60%)
CMYKcmyk(44.2%, 79.9%, 0%, 39.6%)
CIE-LABlab(27.55, 49.57, -56.56)
CIE-LCHlch(27.55, 75.21, 311.23°)
OKLaboklab(39.8% 0.0843 -0.162)
OKLCHoklch(39.8% 0.183 297.5)
XYZxyz(10.1589, 5.2913, 31.0517)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F9A #639A1F
analogous
#1F269A #561F9A #941F9A
triadic
#561F9A #9A561F #1F9A56
tetradic
#561F9A #9A1F26 #639A1F #1F9A94
square
#561F9A #9A1F26 #639A1F #1F9A94
split-complementary
#561F9A #9A941F #269A1F
monochromatic
#1D0A34 #3A1567 #561F9A #7229CD #9356DD

Accessibility & contrast

On white

10.20
#561F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#561F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F9A
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F9A#FFFFFF#000000##FFFFFF
##561F9A1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#44415C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #561f9a;
/* rgb */ color: rgb(86, 31, 154);
/* oklch */ color: oklch(39.8% 0.183 297.5);
Tailwind
colors: {
  custom: {
    50: '#8d62b9',
    500: '#561f9a',
    950: '#000000',
  },
}
SCSS
$custom: #561f9a;
$custom-light: #8d62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#561f9a",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 266.829,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39804,
    "c": 0.1826,
    "h": 297.5
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#561F9A
secondary
#90C154
accent
#E93E9D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #561F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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