#561FA6#561FA6

#561FA6 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.195 H 294.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#561FA6
RGBrgb(86, 31, 166)
HSLhsl(264, 69%, 39%)
HSVhsv(264, 81%, 65%)
CMYKcmyk(48.2%, 81.3%, 0%, 34.9%)
CIE-LABlab(28.67, 52.64, -62.02)
CIE-LCHlch(28.67, 81.35, 310.33°)
OKLaboklab(40.93% 0.0805 -0.178)
OKLCHoklch(40.93% 0.195 294.3)
XYZxyz(11.2088, 5.7112, 36.5808)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561FA6 #6FA61F
analogous
#1F2CA6 #561FA6 #991FA6
triadic
#561FA6 #A6561F #1FA656
tetradic
#561FA6 #A61F2C #6FA61F #1FA699
square
#561FA6 #A61F2C #6FA61F #1FA699
split-complementary
#561FA6 #A6991F #2CA61F
monochromatic
#210C3F #3B1572 #561FA6 #712BD7 #945EE1

Accessibility & contrast

On white

9.80
#561FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#561FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561FA6
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561FA6#FFFFFF#000000##FFFFFF
##561FA61.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0041A4
Tritanopia (blue-blind)
#3E4663
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #561fa6;
/* rgb */ color: rgb(86, 31, 166);
/* oklch */ color: oklch(40.9% 0.195 294.3);
Tailwind
colors: {
  custom: {
    50: '#8e62c2',
    500: '#561fa6',
    950: '#000000',
  },
}
SCSS
$custom: #561fa6;
$custom-light: #8e62c2;
$custom-dark: #000000;
JSON
{
  "hex": "#561fa6",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 264.444,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40926,
    "c": 0.19531,
    "h": 294.3
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#561FA6
secondary
#9AC55B
accent
#EB3CA4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #561FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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