#581E5D#581E5D

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

Color values

HEX#581E5D
RGBrgb(88, 30, 93)
HSLhsl(295, 51%, 24%)
HSVhsv(295, 68%, 36%)
CMYKcmyk(5.4%, 67.7%, 0%, 63.5%)
CIE-LABlab(22.98, 36.09, -25.22)
CIE-LCHlch(22.98, 44.03, 325.05°)
OKLaboklab(35.15% 0.098 -0.07)
OKLCHoklch(35.15% 0.12 324.5)
XYZxyz(6.4644, 3.7939, 10.7456)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E5D #235D1E
analogous
#391E5D #581E5D #5D1E43
triadic
#581E5D #5D581E #1E5D58
tetradic
#581E5D #5D391E #235D1E #1E435D
square
#581E5D #5D391E #235D1E #1E435D
split-complementary
#581E5D #435D1E #1E5D39
monochromatic
#160717 #2C0F2F #581E5D #842D8B #B03CBA

Accessibility & contrast

On white

11.94
#581E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#581E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E5D
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E5D#FFFFFF#000000##FFFFFF
##581E5D1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12325F
Deuteranopia (green-blind)
#29395B
Tritanopia (blue-blind)
#5A273A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581e5d;
/* rgb */ color: rgb(88, 30, 93);
/* oklch */ color: oklch(35.1% 0.120 324.5);
Tailwind
colors: {
  custom: {
    50: '#895f8b',
    500: '#581e5d',
    950: '#000000',
  },
}
SCSS
$custom: #581e5d;
$custom-light: #895f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#581e5d",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 295.238,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35146,
    "c": 0.12046,
    "h": 324.5
  },
  "luminance": 0.03794
}

Semantic roles & 50–950 ramp

primary
#581E5D
secondary
#4B9245
accent
#DB4D58
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #581E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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