#561F8B#561F8B

#561F8B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.167 H 302.1°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#561F8B
RGBrgb(86, 31, 139)
HSLhsl(271, 64%, 33%)
HSVhsv(271, 78%, 55%)
CMYKcmyk(38.1%, 77.7%, 0%, 45.5%)
CIE-LABlab(26.22, 45.79, -49.47)
CIE-LCHlch(26.22, 67.41, 312.79°)
OKLaboklab(38.47% 0.0885 -0.1412)
OKLCHoklch(38.47% 0.167 302.1)
XYZxyz(8.9868, 4.8225, 24.8785)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F8B #548B1F
analogous
#201F8B #561F8B #8B1F8A
triadic
#561F8B #8B561F #1F8B56
tetradic
#561F8B #8B201F #548B1F #1F8A8B
square
#561F8B #8B201F #548B1F #1F8A8B
split-complementary
#561F8B #8A8B1F #1F8B20
monochromatic
#180927 #371459 #561F8B #752ABD #934DD7

Accessibility & contrast

On white

10.69
#561F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#561F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F8B
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F8B#FFFFFF#000000##FFFFFF
##561F8B1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#4B3B54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561f8b;
/* rgb */ color: rgb(86, 31, 139);
/* oklch */ color: oklch(38.5% 0.167 302.1);
Tailwind
colors: {
  custom: {
    50: '#8b61ae',
    500: '#561f8b',
    950: '#000000',
  },
}
SCSS
$custom: #561f8b;
$custom-light: #8b61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#561f8b",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 270.556,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38467,
    "c": 0.16661,
    "h": 302.1
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#561F8B
secondary
#82BA4C
accent
#E74192
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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