#561B8F#561B8F

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

Color values

HEX#561B8F
RGBrgb(86, 27, 143)
HSLhsl(271, 68%, 33%)
HSVhsv(271, 81%, 56%)
CMYKcmyk(39.9%, 81.1%, 0%, 43.9%)
CIE-LABlab(26.00, 48.44, -52.33)
CIE-LCHlch(26.00, 71.30, 312.79°)
OKLaboklab(38.42% 0.0908 -0.1495)
OKLCHoklch(38.42% 0.175 301.3)
XYZxyz(9.1864, 4.7454, 26.4133)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B8F #548F1B
analogous
#1C1B8F #561B8F #8F1B8E
triadic
#561B8F #8F561B #1B8F56
tetradic
#561B8F #8F1C1B #548F1B #1B8E8F
square
#561B8F #8F1C1B #548F1B #1B8E8F
split-complementary
#561B8F #8E8F1B #1B8F1C
monochromatic
#180828 #37115C #561B8F #7525C2 #9348DC

Accessibility & contrast

On white

10.77
#561B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561B8F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B8F#FFFFFF#000000##FFFFFF
##561B8F1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561b8f;
/* rgb */ color: rgb(86, 27, 143);
/* oklch */ color: oklch(38.4% 0.175 301.3);
Tailwind
colors: {
  custom: {
    50: '#8c5fb1',
    500: '#561b8f',
    950: '#000000',
  },
}
SCSS
$custom: #561b8f;
$custom-light: #8c5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#561b8f",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 270.517,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38417,
    "c": 0.17494,
    "h": 301.3
  },
  "luminance": 0.04745
}

Semantic roles & 50–950 ramp

primary
#561B8F
secondary
#82BE48
accent
#EB3D92
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #561B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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