#561258#561258

#561258 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.131 H 326.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#561258
RGBrgb(86, 18, 88)
HSLhsl(298, 66%, 21%)
HSVhsv(298, 80%, 35%)
CMYKcmyk(2.3%, 79.5%, 0%, 65.5%)
CIE-LABlab(20.50, 39.68, -25.85)
CIE-LCHlch(20.50, 47.36, 326.92°)
OKLaboklab(33.2% 0.1097 -0.0718)
OKLCHoklch(33.2% 0.131 326.8)
XYZxyz(5.8154, 3.1160, 9.5258)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561258 #145812
analogous
#331258 #561258 #581237
triadic
#561258 #585612 #125856
tetradic
#561258 #583312 #145812 #123758
square
#561258 #583312 #145812 #123758
split-complementary
#561258 #375812 #125833
monochromatic
#190519 #240825 #561258 #881C8B #B927BE

Accessibility & contrast

On white

12.94
#561258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#561258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561258
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561258#FFFFFF#000000##FFFFFF
##5612581.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022C5A
Deuteranopia (green-blind)
#233456
Tritanopia (blue-blind)
#591E34
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #561258;
/* rgb */ color: rgb(86, 18, 88);
/* oklch */ color: oklch(33.2% 0.131 326.8);
Tailwind
colors: {
  custom: {
    50: '#885887',
    500: '#561258',
    950: '#000000',
  },
}
SCSS
$custom: #561258;
$custom-light: #885887;
$custom-dark: #000000;
JSON
{
  "hex": "#561258",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 298.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33196,
    "c": 0.13106,
    "h": 326.8
  },
  "luminance": 0.03116
}

Semantic roles & 50–950 ramp

primary
#561258
secondary
#389135
accent
#E93F44
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #561258

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

Preview Lab → · Contrast checker → · Palette generator →

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