#581D56#581D56

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

Color values

HEX#581D56
RGBrgb(88, 29, 86)
HSLhsl(302, 50%, 23%)
HSVhsv(302, 67%, 35%)
CMYKcmyk(0%, 67%, 2.3%, 65.5%)
CIE-LABlab(22.39, 35.17, -21.50)
CIE-LCHlch(22.39, 41.22, 328.57°)
OKLaboklab(34.59% 0.0989 -0.0592)
OKLCHoklch(34.59% 0.115 329.1)
XYZxyz(6.1435, 3.6257, 9.1786)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D56 #1D581F
analogous
#3C1D58 #581D56 #581D38
triadic
#581D56 #56581D #1D5658
tetradic
#581D56 #583C1D #1D581F #1D3858
square
#581D56 #583C1D #1D581F #1D3858
split-complementary
#581D56 #38581D #1D583C
monochromatic
#170816 #2A0E29 #581D56 #862C83 #B43BB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##581D56#FFFFFF#000000##FFFFFF
##581D561.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)
#173058
Deuteranopia (green-blind)
#2C3854
Tritanopia (blue-blind)
#5B2436
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581d56;
/* rgb */ color: rgb(88, 29, 86);
/* oklch */ color: oklch(34.6% 0.115 329.1);
Tailwind
colors: {
  custom: {
    50: '#895e86',
    500: '#581d56',
    950: '#000000',
  },
}
SCSS
$custom: #581d56;
$custom-light: #895e86;
$custom-dark: #000000;
JSON
{
  "hex": "#581d56",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 302.034,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34589,
    "c": 0.11526,
    "h": 329.1
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#581D56
secondary
#448D46
accent
#DA534E
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #581D56

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

Preview Lab → · Contrast checker → · Palette generator →

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