#561F89#561F89

#561F89 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.164 H 302.8°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#561F89
RGBrgb(86, 31, 137)
HSLhsl(271, 63%, 33%)
HSVhsv(271, 77%, 54%)
CMYKcmyk(37.2%, 77.4%, 0%, 46.3%)
CIE-LABlab(26.05, 45.29, -48.50)
CIE-LCHlch(26.05, 66.36, 313.04°)
OKLaboklab(38.3% 0.089 -0.1383)
OKLCHoklch(38.3% 0.164 302.8)
XYZxyz(8.8420, 4.7645, 24.1159)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F89 #52891F
analogous
#211F89 #561F89 #891F87
triadic
#561F89 #89561F #1F8956
tetradic
#561F89 #89211F #52891F #1F8789
square
#561F89 #89211F #52891F #1F8789
split-complementary
#561F89 #87891F #1F8921
monochromatic
#170825 #371457 #561F89 #752ABB #944CD6

Accessibility & contrast

On white

10.75
#561F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561F89
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F89#FFFFFF#000000##FFFFFF
##561F891.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#4B3A53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561f89;
/* rgb */ color: rgb(86, 31, 137);
/* oklch */ color: oklch(38.3% 0.164 302.8);
Tailwind
colors: {
  custom: {
    50: '#8b61ac',
    500: '#561f89',
    950: '#000000',
  },
}
SCSS
$custom: #561f89;
$custom-light: #8b61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#561f89",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 271.132,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38295,
    "c": 0.16447,
    "h": 302.8
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#561F89
secondary
#80B94B
accent
#E64291
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561F89

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

Preview Lab → · Contrast checker → · Palette generator →

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