#561F85#561F85

#561F85 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.160 H 304.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#561F85
RGBrgb(86, 31, 133)
HSLhsl(272, 62%, 32%)
HSVhsv(272, 77%, 52%)
CMYKcmyk(35.3%, 76.7%, 0%, 47.8%)
CIE-LABlab(25.72, 44.30, -46.54)
CIE-LCHlch(25.72, 64.26, 313.59°)
OKLaboklab(37.96% 0.0899 -0.1325)
OKLCHoklch(37.96% 0.16 304.2)
XYZxyz(8.5604, 4.6519, 22.6327)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F85 #4E851F
analogous
#231F85 #561F85 #851F81
triadic
#561F85 #85561F #1F8556
tetradic
#561F85 #85231F #4E851F #1F8185
square
#561F85 #85231F #4E851F #1F8185
split-complementary
#561F85 #81851F #1F8523
monochromatic
#160822 #361353 #561F85 #762BB7 #954AD5

Accessibility & contrast

On white

10.88
#561F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#561F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F85
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F85#FFFFFF#000000##FFFFFF
##561F851.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#4D3850
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561f85;
/* rgb */ color: rgb(86, 31, 133);
/* oklch */ color: oklch(38.0% 0.160 304.2);
Tailwind
colors: {
  custom: {
    50: '#8a61a9',
    500: '#561f85',
    950: '#000000',
  },
}
SCSS
$custom: #561f85;
$custom-light: #8a61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#561f85",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 272.353,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37956,
    "c": 0.16017,
    "h": 304.2
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

primary
#561F85
secondary
#7CB749
accent
#E5438E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561F85

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

Preview Lab → · Contrast checker → · Palette generator →

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