#561F7E#561F7E

#561F7E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.153 H 306.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#561F7E
RGBrgb(86, 31, 126)
HSLhsl(275, 61%, 31%)
HSVhsv(275, 75%, 49%)
CMYKcmyk(31.7%, 75.4%, 0%, 50.6%)
CIE-LABlab(25.15, 42.59, -43.06)
CIE-LCHlch(25.15, 60.56, 314.68°)
OKLaboklab(37.38% 0.0914 -0.1223)
OKLCHoklch(37.38% 0.153 306.8)
XYZxyz(8.0928, 4.4649, 20.1701)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F7E #477E1F
analogous
#261F7E #561F7E #7E1F76
triadic
#561F7E #7E561F #1F7E56
tetradic
#561F7E #7E261F #477E1F #1F767E
square
#561F7E #7E261F #477E1F #1F767E
split-complementary
#561F7E #767E1F #1F7E26
monochromatic
#13071C #34134D #561F7E #782BAF #9746D1

Accessibility & contrast

On white

11.09
#561F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#561F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F7E
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F7E#FFFFFF#000000##FFFFFF
##561F7E1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#4F364D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #561f7e;
/* rgb */ color: rgb(86, 31, 126);
/* oklch */ color: oklch(37.4% 0.153 306.8);
Tailwind
colors: {
  custom: {
    50: '#8a60a4',
    500: '#561f7e',
    950: '#000000',
  },
}
SCSS
$custom: #561f7e;
$custom-light: #8a60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#561f7e",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 274.737,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37377,
    "c": 0.15267,
    "h": 306.8
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#561F7E
secondary
#74B148
accent
#E44487
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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