#561F9D#561F9D

#561F9D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.186 H 296.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#561F9D
RGBrgb(86, 31, 157)
HSLhsl(266, 67%, 37%)
HSVhsv(266, 80%, 62%)
CMYKcmyk(45.2%, 80.3%, 0%, 38.4%)
CIE-LABlab(27.82, 50.34, -57.94)
CIE-LCHlch(27.82, 76.75, 310.98°)
OKLaboklab(40.08% 0.0834 -0.166)
OKLCHoklch(40.08% 0.186 296.7)
XYZxyz(10.4119, 5.3925, 32.3840)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F9D #669D1F
analogous
#1F279D #561F9D #951F9D
triadic
#561F9D #9D561F #1F9D56
tetradic
#561F9D #9D1F27 #669D1F #1F9D95
square
#561F9D #9D1F27 #669D1F #1F9D95
split-complementary
#561F9D #9D951F #279D1F
monochromatic
#1E0B37 #3A156A #561F9D #7229D0 #9358DE

Accessibility & contrast

On white

10.10
#561F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#561F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F9D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F9D#FFFFFF#000000##FFFFFF
##561F9D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#43425E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #561f9d;
/* rgb */ color: rgb(86, 31, 157);
/* oklch */ color: oklch(40.1% 0.186 296.7);
Tailwind
colors: {
  custom: {
    50: '#8d62bb',
    500: '#561f9d',
    950: '#000000',
  },
}
SCSS
$custom: #561f9d;
$custom-light: #8d62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#561f9d",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 266.19,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4008,
    "c": 0.18578,
    "h": 296.7
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#561F9D
secondary
#93C256
accent
#EA3E9F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #561F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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