#561C98#561C98

#561C98 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.183 H 298.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#561C98
RGBrgb(86, 28, 152)
HSLhsl(268, 69%, 35%)
HSVhsv(268, 82%, 60%)
CMYKcmyk(43.4%, 81.6%, 0%, 40.4%)
CIE-LABlab(26.95, 50.28, -56.32)
CIE-LCHlch(26.95, 75.49, 311.76°)
OKLaboklab(39.33% 0.0872 -0.1612)
OKLCHoklch(39.33% 0.183 298.4)
XYZxyz(9.9190, 5.0758, 30.1568)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C98 #5E981C
analogous
#1C2098 #561C98 #941C98
triadic
#561C98 #98561C #1C9856
tetradic
#561C98 #981C20 #5E981C #1C9894
square
#561C98 #981C20 #5E981C #1C9894
split-complementary
#561C98 #98941C #20981C
monochromatic
#1C0931 #391264 #561C98 #7326CC #9350DF

Accessibility & contrast

On white

10.42
#561C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#561C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561C98
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C98#FFFFFF#000000##FFFFFF
##561C981.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#453F5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #561c98;
/* rgb */ color: rgb(86, 28, 152);
/* oklch */ color: oklch(39.3% 0.183 298.4);
Tailwind
colors: {
  custom: {
    50: '#8d60b7',
    500: '#561c98',
    950: '#000000',
  },
}
SCSS
$custom: #561c98;
$custom-light: #8d60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#561c98",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 268.065,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39331,
    "c": 0.18332,
    "h": 298.4
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#561C98
secondary
#8CC14E
accent
#EC3C9A
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #561C98

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

Preview Lab → · Contrast checker → · Palette generator →

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