#561F93#561F93

#561F93 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.175 H 299.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#561F93
RGBrgb(86, 31, 147)
HSLhsl(268, 65%, 35%)
HSVhsv(268, 79%, 58%)
CMYKcmyk(41.5%, 78.9%, 0%, 42.4%)
CIE-LABlab(26.92, 47.80, -53.29)
CIE-LCHlch(26.92, 71.59, 311.89°)
OKLaboklab(39.17% 0.0864 -0.1524)
OKLCHoklch(39.17% 0.175 299.5)
XYZxyz(9.5929, 5.0649, 28.0703)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F93 #5C931F
analogous
#1F2293 #561F93 #901F93
triadic
#561F93 #93561F #1F9356
tetradic
#561F93 #931F22 #5C931F #1F9390
square
#561F93 #931F22 #5C931F #1F9390
split-complementary
#561F93 #93901F #22931F
monochromatic
#1B0A2E #381460 #561F93 #742AC6 #9352DA

Accessibility & contrast

On white

10.43
#561F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#561F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F93
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F93#FFFFFF#000000##FFFFFF
##561F931.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#473E58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #561f93;
/* rgb */ color: rgb(86, 31, 147);
/* oklch */ color: oklch(39.2% 0.175 299.5);
Tailwind
colors: {
  custom: {
    50: '#8c61b4',
    500: '#561f93',
    950: '#000000',
  },
}
SCSS
$custom: #561f93;
$custom-light: #8c61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#561f93",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 268.448,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3917,
    "c": 0.17515,
    "h": 299.5
  },
  "luminance": 0.05065
}

Semantic roles & 50–950 ramp

primary
#561F93
secondary
#8ABE50
accent
#E84098
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #561F93

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

Preview Lab → · Contrast checker → · Palette generator →

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