#561888#561888

#561888 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.171 H 304.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#561888
RGBrgb(86, 24, 136)
HSLhsl(273, 70%, 31%)
HSVhsv(273, 82%, 53%)
CMYKcmyk(36.8%, 82.4%, 0%, 46.7%)
CIE-LABlab(24.98, 47.89, -49.63)
CIE-LCHlch(24.98, 68.97, 313.98°)
OKLaboklab(37.52% 0.0953 -0.1416)
OKLCHoklch(37.52% 0.171 304)
XYZxyz(8.6073, 4.4093, 23.6854)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561888 #4A8818
analogous
#1E1888 #561888 #881882
triadic
#561888 #885618 #188856
tetradic
#561888 #881E18 #4A8818 #188288
square
#561888 #881E18 #4A8818 #188288
split-complementary
#561888 #828818 #18881E
monochromatic
#140620 #350F54 #561888 #7721BC #963EDD

Accessibility & contrast

On white

11.16
#561888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#561888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561888
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561888#FFFFFF#000000##FFFFFF
##5618881.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#4C3751
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561888;
/* rgb */ color: rgb(86, 24, 136);
/* oklch */ color: oklch(37.5% 0.171 304.0);
Tailwind
colors: {
  custom: {
    50: '#8b5eac',
    500: '#561888',
    950: '#000000',
  },
}
SCSS
$custom: #561888;
$custom-light: #8b5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#561888",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 273.214,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37518,
    "c": 0.17067,
    "h": 304
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#561888
secondary
#77BC40
accent
#ED3B8A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561888

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

Preview Lab → · Contrast checker → · Palette generator →

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