#561F88#561F88

#561F88 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.163 H 303.1°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#561F88
RGBrgb(86, 31, 136)
HSLhsl(271, 63%, 33%)
HSVhsv(271, 77%, 53%)
CMYKcmyk(36.8%, 77.2%, 0%, 46.7%)
CIE-LABlab(25.97, 45.04, -48.01)
CIE-LCHlch(25.97, 65.84, 313.17°)
OKLaboklab(38.21% 0.0892 -0.1369)
OKLCHoklch(38.21% 0.163 303.1)
XYZxyz(8.7706, 4.7360, 23.7399)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F88 #51881F
analogous
#221F88 #561F88 #881F85
triadic
#561F88 #88561F #1F8856
tetradic
#561F88 #88221F #51881F #1F8588
square
#561F88 #88221F #51881F #1F8588
split-complementary
#561F88 #85881F #1F8822
monochromatic
#170824 #361456 #561F88 #762ABA #944BD6

Accessibility & contrast

On white

10.78
#561F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561F88
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F88#FFFFFF#000000##FFFFFF
##561F881.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#4C3A52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561f88;
/* rgb */ color: rgb(86, 31, 136);
/* oklch */ color: oklch(38.2% 0.163 303.1);
Tailwind
colors: {
  custom: {
    50: '#8b61ab',
    500: '#561f88',
    950: '#000000',
  },
}
SCSS
$custom: #561f88;
$custom-light: #8b61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#561f88",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 271.429,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3821,
    "c": 0.1634,
    "h": 303.1
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

primary
#561F88
secondary
#7FB94A
accent
#E64290
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561F88

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

Preview Lab → · Contrast checker → · Palette generator →

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