#561F94#561F94

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

Color values

HEX#561F94
RGBrgb(86, 31, 148)
HSLhsl(268, 65%, 35%)
HSVhsv(268, 79%, 58%)
CMYKcmyk(41.9%, 79.1%, 0%, 42%)
CIE-LABlab(27.01, 48.05, -53.76)
CIE-LCHlch(27.01, 72.11, 311.79°)
OKLaboklab(39.26% 0.0861 -0.1538)
OKLCHoklch(39.26% 0.176 299.2)
XYZxyz(9.6717, 5.0964, 28.4854)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F94 #5D941F
analogous
#1F2394 #561F94 #901F94
triadic
#561F94 #94561F #1F9456
tetradic
#561F94 #941F23 #5D941F #1F9490
square
#561F94 #941F23 #5D941F #1F9490
split-complementary
#561F94 #94901F #23941F
monochromatic
#1B0A2F #391461 #561F94 #732AC7 #9353DB

Accessibility & contrast

On white

10.40
#561F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561F94
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F94#FFFFFF#000000##FFFFFF
##561F941.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#473F59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #561f94;
/* rgb */ color: rgb(86, 31, 148);
/* oklch */ color: oklch(39.3% 0.176 299.2);
Tailwind
colors: {
  custom: {
    50: '#8c61b4',
    500: '#561f94',
    950: '#000000',
  },
}
SCSS
$custom: #561f94;
$custom-light: #8c61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#561f94",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 268.205,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3926,
    "c": 0.17622,
    "h": 299.2
  },
  "luminance": 0.05097
}

Semantic roles & 50–950 ramp

primary
#561F94
secondary
#8BBE51
accent
#E83F99
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #561F94

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

Preview Lab → · Contrast checker → · Palette generator →

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