#561F7D#561F7D

#561F7D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.152 H 307.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#561F7D
RGBrgb(86, 31, 125)
HSLhsl(275, 60%, 31%)
HSVhsv(275, 75%, 49%)
CMYKcmyk(31.2%, 75.2%, 0%, 51%)
CIE-LABlab(25.07, 42.34, -42.55)
CIE-LCHlch(25.07, 60.03, 314.86°)
OKLaboklab(37.3% 0.0916 -0.1208)
OKLCHoklch(37.3% 0.152 307.2)
XYZxyz(8.0286, 4.4392, 19.8320)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F7D #467D1F
analogous
#271F7D #561F7D #7D1F75
triadic
#561F7D #7D561F #1F7D56
tetradic
#561F7D #7D271F #467D1F #1F757D
square
#561F7D #7D271F #467D1F #1F757D
split-complementary
#561F7D #757D1F #1F7D27
monochromatic
#13071B #34134C #561F7D #782BAE #9745D1

Accessibility & contrast

On white

11.12
#561F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561F7D
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F7D#FFFFFF#000000##FFFFFF
##561F7D1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#4F354C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561f7d;
/* rgb */ color: rgb(86, 31, 125);
/* oklch */ color: oklch(37.3% 0.152 307.2);
Tailwind
colors: {
  custom: {
    50: '#8a60a3',
    500: '#561f7d',
    950: '#000000',
  },
}
SCSS
$custom: #561f7d;
$custom-light: #8a60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#561f7d",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 275.106,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37297,
    "c": 0.1516,
    "h": 307.2
  },
  "luminance": 0.04439
}

Semantic roles & 50–950 ramp

primary
#561F7D
secondary
#73B048
accent
#E34486
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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