#581D57#581D57

#581D57 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.6% C 0.116 H 328.4°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#581D57
RGBrgb(88, 29, 87)
HSLhsl(301, 50%, 23%)
HSVhsv(301, 67%, 35%)
CMYKcmyk(0%, 67%, 1.1%, 65.5%)
CIE-LABlab(22.45, 35.37, -22.07)
CIE-LCHlch(22.45, 41.69, 328.03°)
OKLaboklab(34.65% 0.099 -0.0609)
OKLCHoklch(34.65% 0.116 328.4)
XYZxyz(6.1841, 3.6420, 9.3922)
Luminance0.0364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D57 #1D581E
analogous
#3B1D58 #581D57 #581D39
triadic
#581D57 #57581D #1D5758
tetradic
#581D57 #583B1D #1D581E #1D3958
square
#581D57 #583B1D #1D581E #1D3958
split-complementary
#581D57 #39581D #1D583B
monochromatic
#170817 #2A0E29 #581D57 #862C85 #B43BB2

Accessibility & contrast

On white

12.15
#581D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#581D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D57
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D57#FFFFFF#000000##FFFFFF
##581D571.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163159
Deuteranopia (green-blind)
#2C3855
Tritanopia (blue-blind)
#5B2437
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581d57;
/* rgb */ color: rgb(88, 29, 87);
/* oklch */ color: oklch(34.6% 0.116 328.4);
Tailwind
colors: {
  custom: {
    50: '#895e86',
    500: '#581d57',
    950: '#000000',
  },
}
SCSS
$custom: #581d57;
$custom-light: #895e86;
$custom-dark: #000000;
JSON
{
  "hex": "#581d57",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 87
  },
  "hsl": {
    "h": 301.017,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34649,
    "c": 0.1162,
    "h": 328.4
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#581D57
secondary
#448D45
accent
#DA504E
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #581D57

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

Preview Lab → · Contrast checker → · Palette generator →

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