#581D55#581D55

#581D55 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.5% C 0.114 H 329.8°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#581D55
RGBrgb(88, 29, 85)
HSLhsl(303, 50%, 23%)
HSVhsv(303, 67%, 35%)
CMYKcmyk(0%, 67%, 3.4%, 65.5%)
CIE-LABlab(22.34, 34.98, -20.92)
CIE-LCHlch(22.34, 40.76, 329.12°)
OKLaboklab(34.53% 0.0988 -0.0575)
OKLCHoklch(34.53% 0.114 329.8)
XYZxyz(6.1035, 3.6097, 8.9678)
Luminance0.0361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D55 #1D5820
analogous
#3D1D58 #581D55 #581D37
triadic
#581D55 #55581D #1D5558
tetradic
#581D55 #583D1D #1D5820 #1D3758
square
#581D55 #583D1D #1D5820 #1D3758
split-complementary
#581D55 #37581D #1D583D
monochromatic
#170816 #2A0E29 #581D55 #862C81 #B43BAE

Accessibility & contrast

On white

12.20
#581D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581D55
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D55#FFFFFF#000000##FFFFFF
##581D551.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183057
Deuteranopia (green-blind)
#2D3853
Tritanopia (blue-blind)
#5B2336
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581d55;
/* rgb */ color: rgb(88, 29, 85);
/* oklch */ color: oklch(34.5% 0.114 329.8);
Tailwind
colors: {
  custom: {
    50: '#895e85',
    500: '#581d55',
    950: '#000000',
  },
}
SCSS
$custom: #581d55;
$custom-light: #895e85;
$custom-dark: #000000;
JSON
{
  "hex": "#581d55",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 85
  },
  "hsl": {
    "h": 303.051,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34529,
    "c": 0.11433,
    "h": 329.8
  },
  "luminance": 0.03609
}

Semantic roles & 50–950 ramp

primary
#581D55
secondary
#448D47
accent
#DA554E
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581D55

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

Preview Lab → · Contrast checker → · Palette generator →

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