#581D4F#581D4F

#581D4F is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.2% C 0.109 H 334.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#581D4F
RGBrgb(88, 29, 79)
HSLhsl(309, 50%, 23%)
HSVhsv(309, 67%, 35%)
CMYKcmyk(0%, 67%, 10.2%, 65.5%)
CIE-LABlab(22.01, 33.86, -17.40)
CIE-LCHlch(22.01, 38.07, 332.79°)
OKLaboklab(34.19% 0.098 -0.0474)
OKLCHoklch(34.19% 0.109 334.2)
XYZxyz(5.8752, 3.5184, 7.7653)
Luminance0.0352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D4F #1D5826
analogous
#431D58 #581D4F #581D31
triadic
#581D4F #4F581D #1D4F58
tetradic
#581D4F #58431D #1D5826 #1D3158
square
#581D4F #58431D #1D5826 #1D3158
split-complementary
#581D4F #31581D #1D5843
monochromatic
#170815 #2A0E26 #581D4F #862C78 #B43BA2

Accessibility & contrast

On white

12.33
#581D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#581D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D4F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D4F#FFFFFF#000000##FFFFFF
##581D4F1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F51
Deuteranopia (green-blind)
#2F384D
Tritanopia (blue-blind)
#5C2133
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581d4f;
/* rgb */ color: rgb(88, 29, 79);
/* oklch */ color: oklch(34.2% 0.109 334.2);
Tailwind
colors: {
  custom: {
    50: '#895e80',
    500: '#581d4f',
    950: '#000000',
  },
}
SCSS
$custom: #581d4f;
$custom-light: #895e80;
$custom-dark: #000000;
JSON
{
  "hex": "#581d4f",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 309.153,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34185,
    "c": 0.10888,
    "h": 334.2
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#581D4F
secondary
#448D4F
accent
#DA634E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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