#561C9F#561C9F

#561C9F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.0% C 0.191 H 296.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#561C9F
RGBrgb(86, 28, 159)
HSLhsl(267, 70%, 37%)
HSVhsv(267, 82%, 62%)
CMYKcmyk(45.9%, 82.4%, 0%, 37.6%)
CIE-LABlab(27.61, 52.03, -59.52)
CIE-LCHlch(27.61, 79.06, 311.16°)
OKLaboklab(39.99% 0.0849 -0.1706)
OKLCHoklch(39.99% 0.191 296.5)
XYZxyz(10.5093, 5.3119, 33.2658)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C9F #659F1C
analogous
#1C249F #561C9F #981C9F
triadic
#561C9F #9F561C #1C9F56
tetradic
#561C9F #9F1C24 #659F1C #1C9F98
square
#561C9F #9F1C24 #659F1C #1C9F98
split-complementary
#561C9F #9F981C #249F1C
monochromatic
#1E0A37 #3A136B #561C9F #7225D3 #9354E1

Accessibility & contrast

On white

10.18
#561C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#561C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561C9F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C9F#FFFFFF#000000##FFFFFF
##561C9F1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#42425F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #561c9f;
/* rgb */ color: rgb(86, 28, 159);
/* oklch */ color: oklch(40.0% 0.191 296.5);
Tailwind
colors: {
  custom: {
    50: '#8e61bc',
    500: '#561c9f',
    950: '#000000',
  },
}
SCSS
$custom: #561c9f;
$custom-light: #8e61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#561c9f",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 266.565,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39985,
    "c": 0.19059,
    "h": 296.5
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#561C9F
secondary
#92C453
accent
#ED3B9E
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #561C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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