#561F80#561F80

#561F80 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.155 H 306.0°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#561F80
RGBrgb(86, 31, 128)
HSLhsl(274, 61%, 31%)
HSVhsv(274, 76%, 50%)
CMYKcmyk(32.8%, 75.8%, 0%, 49.8%)
CIE-LABlab(25.31, 43.07, -44.06)
CIE-LCHlch(25.31, 61.62, 314.35°)
OKLaboklab(37.54% 0.091 -0.1253)
OKLCHoklch(37.54% 0.155 306)
XYZxyz(8.2232, 4.5170, 20.8565)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F80 #49801F
analogous
#261F80 #561F80 #801F79
triadic
#561F80 #80561F #1F8056
tetradic
#561F80 #80261F #49801F #1F7980
square
#561F80 #80261F #49801F #1F7980
split-complementary
#561F80 #79801F #1F8026
monochromatic
#14071D #35134F #561F80 #772BB1 #9647D2

Accessibility & contrast

On white

11.03
#561F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#561F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F80
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F80#FFFFFF#000000##FFFFFF
##561F801.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#4F364E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #561f80;
/* rgb */ color: rgb(86, 31, 128);
/* oklch */ color: oklch(37.5% 0.155 306.0);
Tailwind
colors: {
  custom: {
    50: '#8a60a6',
    500: '#561f80',
    950: '#000000',
  },
}
SCSS
$custom: #561f80;
$custom-light: #8a60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#561f80",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 274.021,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3754,
    "c": 0.15481,
    "h": 306
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#561F80
secondary
#76B348
accent
#E44489
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561F80

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

Preview Lab → · Contrast checker → · Palette generator →

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