#561F7F#561F7F

#561F7F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.154 H 306.4°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#561F7F
RGBrgb(86, 31, 127)
HSLhsl(274, 61%, 31%)
HSVhsv(274, 76%, 50%)
CMYKcmyk(32.3%, 75.6%, 0%, 50.2%)
CIE-LABlab(25.23, 42.83, -43.56)
CIE-LCHlch(25.23, 61.09, 314.51°)
OKLaboklab(37.46% 0.0912 -0.1238)
OKLCHoklch(37.46% 0.154 306.4)
XYZxyz(8.1577, 4.4908, 20.5116)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F7F #487F1F
analogous
#261F7F #561F7F #7F1F78
triadic
#561F7F #7F561F #1F7F56
tetradic
#561F7F #7F261F #487F1F #1F787F
square
#561F7F #7F261F #487F1F #1F787F
split-complementary
#561F7F #787F1F #1F7F26
monochromatic
#13071D #35134E #561F7F #772BB0 #9646D2

Accessibility & contrast

On white

11.06
#561F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#561F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F7F
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F7F#FFFFFF#000000##FFFFFF
##561F7F1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561f7f;
/* rgb */ color: rgb(86, 31, 127);
/* oklch */ color: oklch(37.5% 0.154 306.4);
Tailwind
colors: {
  custom: {
    50: '#8a60a5',
    500: '#561f7f',
    950: '#000000',
  },
}
SCSS
$custom: #561f7f;
$custom-light: #8a60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#561f7f",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 274.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37459,
    "c": 0.15375,
    "h": 306.4
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#561F7F
secondary
#75B248
accent
#E44488
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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