#561F81#561F81

#561F81 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.156 H 305.6°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#561F81
RGBrgb(86, 31, 129)
HSLhsl(274, 61%, 31%)
HSVhsv(274, 76%, 51%)
CMYKcmyk(33.3%, 76%, 0%, 49.4%)
CIE-LABlab(25.39, 43.32, -44.56)
CIE-LCHlch(25.39, 62.15, 314.19°)
OKLaboklab(37.62% 0.0908 -0.1267)
OKLCHoklch(37.62% 0.156 305.6)
XYZxyz(8.2893, 4.5434, 21.2049)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F81 #4A811F
analogous
#251F81 #561F81 #811F7B
triadic
#561F81 #81561F #1F8156
tetradic
#561F81 #81251F #4A811F #1F7B81
square
#561F81 #81251F #4A811F #1F7B81
split-complementary
#561F81 #7B811F #1F8125
monochromatic
#14071E #351350 #561F81 #772BB2 #9647D3

Accessibility & contrast

On white

11.00
#561F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#561F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F81
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F81#FFFFFF#000000##FFFFFF
##561F811.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#4E374E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #561f81;
/* rgb */ color: rgb(86, 31, 129);
/* oklch */ color: oklch(37.6% 0.156 305.6);
Tailwind
colors: {
  custom: {
    50: '#8a60a6',
    500: '#561f81',
    950: '#000000',
  },
}
SCSS
$custom: #561f81;
$custom-light: #8a60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#561f81",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 273.673,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37623,
    "c": 0.15589,
    "h": 305.6
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#561F81
secondary
#77B448
accent
#E4438A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561F81

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

Preview Lab → · Contrast checker → · Palette generator →

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