#561882#561882

#561882 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.165 H 306.1°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#561882
RGBrgb(86, 24, 130)
HSLhsl(275, 69%, 30%)
HSVhsv(275, 82%, 51%)
CMYKcmyk(33.8%, 81.5%, 0%, 49%)
CIE-LABlab(24.46, 46.47, -46.71)
CIE-LCHlch(24.46, 65.89, 314.85°)
OKLaboklab(36.99% 0.0971 -0.133)
OKLCHoklch(36.99% 0.165 306.1)
XYZxyz(8.1928, 4.2435, 21.5022)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561882 #448218
analogous
#211882 #561882 #821879
triadic
#561882 #825618 #188256
tetradic
#561882 #822118 #448218 #187982
square
#561882 #822118 #448218 #187982
split-complementary
#561882 #798218 #188221
monochromatic
#12051B #340E4E #561882 #7822B6 #983ADB

Accessibility & contrast

On white

11.36
#561882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#561882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561882
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561882#FFFFFF#000000##FFFFFF
##5618821.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#4E344D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561882;
/* rgb */ color: rgb(86, 24, 130);
/* oklch */ color: oklch(37.0% 0.165 306.1);
Tailwind
colors: {
  custom: {
    50: '#8b5da7',
    500: '#561882',
    950: '#000000',
  },
}
SCSS
$custom: #561882;
$custom-light: #8b5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#561882",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 275.094,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36994,
    "c": 0.16463,
    "h": 306.1
  },
  "luminance": 0.04243
}

Semantic roles & 50–950 ramp

primary
#561882
secondary
#71B640
accent
#EC3C85
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561882

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

Preview Lab → · Contrast checker → · Palette generator →

#561882 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva