#581C59#581C59

#581C59 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.6% C 0.120 H 327.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#581C59
RGBrgb(88, 28, 89)
HSLhsl(299, 52%, 23%)
HSVhsv(299, 69%, 35%)
CMYKcmyk(1.1%, 68.5%, 0%, 65.1%)
CIE-LABlab(22.40, 36.23, -23.49)
CIE-LCHlch(22.40, 43.18, 327.04°)
OKLaboklab(34.65% 0.1005 -0.065)
OKLCHoklch(34.65% 0.12 327.1)
XYZxyz(6.2428, 3.6269, 9.8205)
Luminance0.0363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C59 #1D591C
analogous
#391C59 #581C59 #591C3B
triadic
#581C59 #59581C #1C5958
tetradic
#581C59 #59391C #1D591C #1C3B59
square
#581C59 #59391C #1D591C #1C3B59
split-complementary
#581C59 #3B591C #1C5939
monochromatic
#170717 #2A0D2A #581C59 #862B88 #B439B6

Accessibility & contrast

On white

12.17
#581C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#581C59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C59
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C59#FFFFFF#000000##FFFFFF
##581C591.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13315B
Deuteranopia (green-blind)
#2A3857
Tritanopia (blue-blind)
#5B2437
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581c59;
/* rgb */ color: rgb(88, 28, 89);
/* oklch */ color: oklch(34.6% 0.120 327.1);
Tailwind
colors: {
  custom: {
    50: '#895d88',
    500: '#581c59',
    950: '#000000',
  },
}
SCSS
$custom: #581c59;
$custom-light: #895d88;
$custom-dark: #000000;
JSON
{
  "hex": "#581c59",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 89
  },
  "hsl": {
    "h": 299.016,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34648,
    "c": 0.11963,
    "h": 327.1
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#581C59
secondary
#448F42
accent
#DC4C4F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581C59

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

Preview Lab → · Contrast checker → · Palette generator →

#581C59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva