#561B82#561B82

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

Color values

HEX#561B82
RGBrgb(86, 27, 130)
HSLhsl(274, 66%, 31%)
HSVhsv(274, 79%, 51%)
CMYKcmyk(33.8%, 79.2%, 0%, 49%)
CIE-LABlab(24.87, 45.28, -46.04)
CIE-LCHlch(24.87, 64.58, 314.53°)
OKLaboklab(37.28% 0.0944 -0.131)
OKLCHoklch(37.28% 0.162 305.8)
XYZxyz(8.2581, 4.3741, 21.5240)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B82 #47821B
analogous
#221B82 #561B82 #821B7A
triadic
#561B82 #82561B #1B8256
tetradic
#561B82 #82221B #47821B #1B7A82
square
#561B82 #82221B #47821B #1B7A82
split-complementary
#561B82 #7A821B #1B8222
monochromatic
#13061D #34104F #561B82 #7826B5 #9740D7

Accessibility & contrast

On white

11.20
#561B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#561B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B82
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B82#FFFFFF#000000##FFFFFF
##561B821.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#4E354E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561b82;
/* rgb */ color: rgb(86, 27, 130);
/* oklch */ color: oklch(37.3% 0.162 305.8);
Tailwind
colors: {
  custom: {
    50: '#8a5fa7',
    500: '#561b82',
    950: '#000000',
  },
}
SCSS
$custom: #561b82;
$custom-light: #8a5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#561b82",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 274.369,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37281,
    "c": 0.16151,
    "h": 305.8
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

primary
#561B82
secondary
#74B643
accent
#E93F88
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561B82

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

Preview Lab → · Contrast checker → · Palette generator →

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