#581D54#581D54

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

Color values

HEX#581D54
RGBrgb(88, 29, 84)
HSLhsl(304, 50%, 23%)
HSVhsv(304, 67%, 35%)
CMYKcmyk(0%, 67%, 4.5%, 65.5%)
CIE-LABlab(22.28, 34.79, -20.34)
CIE-LCHlch(22.28, 40.30, 329.69°)
OKLaboklab(34.47% 0.0987 -0.0559)
OKLCHoklch(34.47% 0.113 330.5)
XYZxyz(6.0641, 3.5940, 8.7601)
Luminance0.0359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D54 #1D5821
analogous
#3E1D58 #581D54 #581D36
triadic
#581D54 #54581D #1D5458
tetradic
#581D54 #583E1D #1D5821 #1D3658
square
#581D54 #583E1D #1D5821 #1D3658
split-complementary
#581D54 #36581D #1D583E
monochromatic
#170816 #2A0E28 #581D54 #862C80 #B43BAC

Accessibility & contrast

On white

12.22
#581D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581D54
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D54#FFFFFF#000000##FFFFFF
##581D541.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193056
Deuteranopia (green-blind)
#2D3852
Tritanopia (blue-blind)
#5B2335
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581d54;
/* rgb */ color: rgb(88, 29, 84);
/* oklch */ color: oklch(34.5% 0.113 330.5);
Tailwind
colors: {
  custom: {
    50: '#895e84',
    500: '#581d54',
    950: '#000000',
  },
}
SCSS
$custom: #581d54;
$custom-light: #895e84;
$custom-dark: #000000;
JSON
{
  "hex": "#581d54",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 84
  },
  "hsl": {
    "h": 304.068,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3447,
    "c": 0.1134,
    "h": 330.5
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#581D54
secondary
#448D49
accent
#DA574E
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581D54

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

Preview Lab → · Contrast checker → · Palette generator →

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