#581B59#581B59

#581B59 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.5% C 0.121 H 327.1°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#581B59
RGBrgb(88, 27, 89)
HSLhsl(299, 53%, 23%)
HSVhsv(299, 70%, 35%)
CMYKcmyk(1.1%, 69.7%, 0%, 65.1%)
CIE-LABlab(22.23, 36.69, -23.75)
CIE-LCHlch(22.23, 43.71, 327.08°)
OKLaboklab(34.53% 0.1018 -0.0657)
OKLCHoklch(34.53% 0.121 327.1)
XYZxyz(6.2195, 3.5803, 9.8127)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B59 #1C591B
analogous
#391B59 #581B59 #591B3B
triadic
#581B59 #59581B #1B5958
tetradic
#581B59 #59391B #1C591B #1B3B59
square
#581B59 #59391B #1C591B #1B3B59
split-complementary
#581B59 #3B591B #1B5939
monochromatic
#170717 #2A0D2A #581B59 #862988 #B537B7

Accessibility & contrast

On white

12.24
#581B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#581B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B59
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B59#FFFFFF#000000##FFFFFF
##581B591.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12305B
Deuteranopia (green-blind)
#293857
Tritanopia (blue-blind)
#5B2437
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581b59;
/* rgb */ color: rgb(88, 27, 89);
/* oklch */ color: oklch(34.5% 0.121 327.1);
Tailwind
colors: {
  custom: {
    50: '#895d88',
    500: '#581b59',
    950: '#000000',
  },
}
SCSS
$custom: #581b59;
$custom-light: #895d88;
$custom-dark: #000000;
JSON
{
  "hex": "#581b59",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 299.032,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34529,
    "c": 0.12113,
    "h": 327.1
  },
  "luminance": 0.0358
}

Semantic roles & 50–950 ramp

primary
#581B59
secondary
#428F41
accent
#DD4B4D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581B59

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

Preview Lab → · Contrast checker → · Palette generator →

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