#561B97#561B97

#561B97 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.183 H 298.8°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#561B97
RGBrgb(86, 27, 151)
HSLhsl(269, 70%, 35%)
HSVhsv(269, 82%, 59%)
CMYKcmyk(43%, 82.1%, 0%, 40.8%)
CIE-LABlab(26.72, 50.41, -56.07)
CIE-LCHlch(26.72, 75.40, 311.96°)
OKLaboklab(39.15% 0.0883 -0.1605)
OKLCHoklch(39.15% 0.183 298.8)
XYZxyz(9.8142, 4.9965, 29.7195)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B97 #5C971B
analogous
#1B1E97 #561B97 #941B97
triadic
#561B97 #97561B #1B9756
tetradic
#561B97 #971B1E #5C971B #1B9794
square
#561B97 #971B1E #5C971B #1B9794
split-complementary
#561B97 #97941B #1E971B
monochromatic
#1B082F #381263 #561B97 #7424CB #934DDF

Accessibility & contrast

On white

10.50
#561B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#561B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B97
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B97#FFFFFF#000000##FFFFFF
##561B971.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#463E5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #561b97;
/* rgb */ color: rgb(86, 27, 151);
/* oklch */ color: oklch(39.1% 0.183 298.8);
Tailwind
colors: {
  custom: {
    50: '#8d60b7',
    500: '#561b97',
    950: '#000000',
  },
}
SCSS
$custom: #561b97;
$custom-light: #8d60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#561b97",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 268.548,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39146,
    "c": 0.1832,
    "h": 298.8
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#561B97
secondary
#8AC14C
accent
#EC3B98
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #561B97

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

Preview Lab → · Contrast checker → · Palette generator →

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