#581561#581561

#581561 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.137 H 322.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#581561
RGBrgb(88, 21, 97)
HSLhsl(293, 64%, 23%)
HSVhsv(293, 78%, 38%)
CMYKcmyk(9.3%, 78.4%, 0%, 62%)
CIE-LABlab(21.85, 40.79, -29.65)
CIE-LCHlch(21.85, 50.43, 323.98°)
OKLaboklab(34.42% 0.1086 -0.0828)
OKLCHoklch(34.42% 0.137 322.7)
XYZxyz(6.4501, 3.4745, 11.6378)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581561 #1E6115
analogous
#321561 #581561 #611544
triadic
#581561 #615815 #156158
tetradic
#581561 #613215 #1E6115 #154461
square
#581561 #613215 #1E6115 #154461
split-complementary
#581561 #446115 #156132
monochromatic
#170519 #2A0A2F #581561 #862093 #B32BC6

Accessibility & contrast

On white

12.39
#581561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#581561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581561
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581561#FFFFFF#000000##FFFFFF
##5815611.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F63
Deuteranopia (green-blind)
#21375F
Tritanopia (blue-blind)
#59233A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581561;
/* rgb */ color: rgb(88, 21, 97);
/* oklch */ color: oklch(34.4% 0.137 322.7);
Tailwind
colors: {
  custom: {
    50: '#8a5a8e',
    500: '#581561',
    950: '#000000',
  },
}
SCSS
$custom: #581561;
$custom-light: #8a5a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#581561",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 292.895,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3442,
    "c": 0.13662,
    "h": 322.7
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#581561
secondary
#45983A
accent
#E74054
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #581561

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

Preview Lab → · Contrast checker → · Palette generator →

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