#581D5E#581D5E

#581D5E is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.1% C 0.123 H 323.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#581D5E
RGBrgb(88, 29, 94)
HSLhsl(294, 53%, 24%)
HSVhsv(294, 69%, 37%)
CMYKcmyk(6.4%, 69.1%, 0%, 63.1%)
CIE-LABlab(22.87, 36.77, -26.05)
CIE-LCHlch(22.87, 45.06, 324.68°)
OKLaboklab(35.09% 0.0994 -0.0724)
OKLCHoklch(35.09% 0.123 323.9)
XYZxyz(6.4841, 3.7620, 10.9721)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D5E #235E1D
analogous
#381D5E #581D5E #5E1D44
triadic
#581D5E #5E581D #1D5E58
tetradic
#581D5E #5E381D #235E1D #1D445E
square
#581D5E #5E381D #235E1D #1D445E
split-complementary
#581D5E #445E1D #1D5E38
monochromatic
#160717 #2C0F2F #581D5E #842B8D #B03ABC

Accessibility & contrast

On white

11.98
#581D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#581D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D5E
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D5E#FFFFFF#000000##FFFFFF
##581D5E1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3260
Deuteranopia (green-blind)
#28395C
Tritanopia (blue-blind)
#5A273A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581d5e;
/* rgb */ color: rgb(88, 29, 94);
/* oklch */ color: oklch(35.1% 0.123 323.9);
Tailwind
colors: {
  custom: {
    50: '#895e8c',
    500: '#581d5e',
    950: '#000000',
  },
}
SCSS
$custom: #581d5e;
$custom-light: #895e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#581d5e",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 294.462,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35087,
    "c": 0.12295,
    "h": 323.9
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#581D5E
secondary
#4B9344
accent
#DC4C59
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #581D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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