#581F5E#581F5E

#581F5E is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.3% C 0.120 H 323.8°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#581F5E
RGBrgb(88, 31, 94)
HSLhsl(294, 50%, 25%)
HSVhsv(294, 67%, 37%)
CMYKcmyk(6.4%, 67%, 0%, 63.1%)
CIE-LABlab(23.21, 35.81, -25.51)
CIE-LCHlch(23.21, 43.96, 324.54°)
OKLaboklab(35.34% 0.0967 -0.0708)
OKLCHoklch(35.34% 0.12 323.8)
XYZxyz(6.5347, 3.8632, 10.9890)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F5E #255E1F
analogous
#391F5E #581F5E #5E1F45
triadic
#581F5E #5E581F #1F5E58
tetradic
#581F5E #5E391F #255E1F #1F455E
square
#581F5E #5E391F #255E1F #1F455E
split-complementary
#581F5E #455E1F #1F5E39
monochromatic
#160817 #2D1030 #581F5E #832E8C #AE3DBA

Accessibility & contrast

On white

11.85
#581F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#581F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F5E
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F5E#FFFFFF#000000##FFFFFF
##581F5E1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133360
Deuteranopia (green-blind)
#293A5C
Tritanopia (blue-blind)
#5A283B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581f5e;
/* rgb */ color: rgb(88, 31, 94);
/* oklch */ color: oklch(35.3% 0.120 323.8);
Tailwind
colors: {
  custom: {
    50: '#895f8c',
    500: '#581f5e',
    950: '#000000',
  },
}
SCSS
$custom: #581f5e;
$custom-light: #895f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#581f5e",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 294.286,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35337,
    "c": 0.1199,
    "h": 323.8
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#581F5E
secondary
#4D9346
accent
#DA4E5B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #581F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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