#561F7B#561F7B

#561F7B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.149 H 308.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#561F7B
RGBrgb(86, 31, 123)
HSLhsl(276, 60%, 30%)
HSVhsv(276, 75%, 48%)
CMYKcmyk(30.1%, 74.8%, 0%, 51.8%)
CIE-LABlab(24.92, 41.86, -41.54)
CIE-LCHlch(24.92, 58.97, 315.22°)
OKLaboklab(37.14% 0.0919 -0.1178)
OKLCHoklch(37.14% 0.149 308)
XYZxyz(7.9021, 4.3886, 19.1658)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F7B #447B1F
analogous
#281F7B #561F7B #7B1F72
triadic
#561F7B #7B561F #1F7B56
tetradic
#561F7B #7B281F #447B1F #1F727B
square
#561F7B #7B281F #447B1F #1F727B
split-complementary
#561F7B #727B1F #1F7B28
monochromatic
#120619 #34134A #561F7B #782BAC #9844D0

Accessibility & contrast

On white

11.18
#561F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#561F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F7B
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F7B#FFFFFF#000000##FFFFFF
##561F7B1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#033C79
Tritanopia (blue-blind)
#50344B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561f7b;
/* rgb */ color: rgb(86, 31, 123);
/* oklch */ color: oklch(37.1% 0.149 308.0);
Tailwind
colors: {
  custom: {
    50: '#8a60a2',
    500: '#561f7b',
    950: '#000000',
  },
}
SCSS
$custom: #561f7b;
$custom-light: #8a60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#561f7b",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 275.87,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37136,
    "c": 0.14945,
    "h": 308
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

primary
#561F7B
secondary
#71AE48
accent
#E34584
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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