#561F72#561F72

#561F72 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.140 H 311.8°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#561F72
RGBrgb(86, 31, 114)
HSLhsl(280, 57%, 28%)
HSVhsv(280, 73%, 45%)
CMYKcmyk(24.6%, 72.8%, 0%, 55.3%)
CIE-LABlab(24.24, 39.72, -36.90)
CIE-LCHlch(24.24, 54.21, 317.11°)
OKLaboklab(36.44% 0.0932 -0.1042)
OKLCHoklch(36.44% 0.14 311.8)
XYZxyz(7.3644, 4.1735, 16.3339)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F72 #3B721F
analogous
#2C1F72 #561F72 #721F64
triadic
#561F72 #72561F #1F7256
tetradic
#561F72 #722C1F #3B721F #1F6472
square
#561F72 #722C1F #3B721F #1F6472
split-complementary
#561F72 #64721F #1F722C
monochromatic
#120718 #321242 #561F72 #7A2CA2 #9C40CB

Accessibility & contrast

On white

11.45
#561F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#561F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F72
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F72#FFFFFF#000000##FFFFFF
##561F721.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#153B70
Tritanopia (blue-blind)
#533146
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561f72;
/* rgb */ color: rgb(86, 31, 114);
/* oklch */ color: oklch(36.4% 0.140 311.8);
Tailwind
colors: {
  custom: {
    50: '#89609b',
    500: '#561f72',
    950: '#000000',
  },
}
SCSS
$custom: #561f72;
$custom-light: #89609b;
$custom-dark: #000000;
JSON
{
  "hex": "#561f72",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 279.759,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36437,
    "c": 0.13981,
    "h": 311.8
  },
  "luminance": 0.04173
}

Semantic roles & 50–950 ramp

primary
#561F72
secondary
#67A647
accent
#E0477B
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #561F72

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

Preview Lab → · Contrast checker → · Palette generator →

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