#561F9C#561F9C

#561F9C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.185 H 296.9°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#561F9C
RGBrgb(86, 31, 156)
HSLhsl(266, 67%, 37%)
HSVhsv(266, 80%, 61%)
CMYKcmyk(44.9%, 80.1%, 0%, 38.8%)
CIE-LABlab(27.73, 50.08, -57.48)
CIE-LCHlch(27.73, 76.24, 311.07°)
OKLaboklab(39.99% 0.0837 -0.1647)
OKLCHoklch(39.99% 0.185 296.9)
XYZxyz(10.3269, 5.3585, 31.9362)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F9C #659C1F
analogous
#1F279C #561F9C #951F9C
triadic
#561F9C #9C561F #1F9C56
tetradic
#561F9C #9C1F27 #659C1F #1F9C95
square
#561F9C #9C1F27 #659C1F #1F9C95
split-complementary
#561F9C #9C951F #279C1F
monochromatic
#1E0B36 #3A1569 #561F9C #7229CF #9358DE

Accessibility & contrast

On white

10.14
#561F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#561F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F9C
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F9C#FFFFFF#000000##FFFFFF
##561F9C1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#43425E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #561f9c;
/* rgb */ color: rgb(86, 31, 156);
/* oklch */ color: oklch(40.0% 0.185 296.9);
Tailwind
colors: {
  custom: {
    50: '#8d62ba',
    500: '#561f9c',
    950: '#000000',
  },
}
SCSS
$custom: #561f9c;
$custom-light: #8d62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#561f9c",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 266.4,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39988,
    "c": 0.18472,
    "h": 296.9
  },
  "luminance": 0.05359
}

Semantic roles & 50–950 ramp

primary
#561F9C
secondary
#92C155
accent
#EA3E9E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #561F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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