#581A57#581A57

#581A57 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.3% C 0.121 H 328.5°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#581A57
RGBrgb(88, 26, 87)
HSLhsl(301, 54%, 22%)
HSVhsv(301, 70%, 35%)
CMYKcmyk(0%, 70.5%, 1.1%, 65.5%)
CIE-LABlab(21.95, 36.76, -22.86)
CIE-LCHlch(21.95, 43.29, 328.12°)
OKLaboklab(34.29% 0.1029 -0.0631)
OKLCHoklch(34.29% 0.121 328.5)
XYZxyz(6.1141, 3.5020, 9.3689)
Luminance0.0350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A57 #1A581B
analogous
#3A1A58 #581A57 #581A38
triadic
#581A57 #57581A #1A5758
tetradic
#581A57 #583A1A #1A581B #1A3858
square
#581A57 #583A1A #1A581B #1A3858
split-complementary
#581A57 #38581A #1A583A
monochromatic
#180717 #290C28 #581A57 #872886 #B636B4

Accessibility & contrast

On white

12.35
#581A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#581A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A57
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A57#FFFFFF#000000##FFFFFF
##581A571.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122F59
Deuteranopia (green-blind)
#2A3755
Tritanopia (blue-blind)
#5B2236
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581a57;
/* rgb */ color: rgb(88, 26, 87);
/* oklch */ color: oklch(34.3% 0.121 328.5);
Tailwind
colors: {
  custom: {
    50: '#8a5c86',
    500: '#581a57',
    950: '#000000',
  },
}
SCSS
$custom: #581a57;
$custom-light: #8a5c86;
$custom-dark: #000000;
JSON
{
  "hex": "#581a57",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 300.968,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34287,
    "c": 0.12073,
    "h": 328.5
  },
  "luminance": 0.03502
}

Semantic roles & 50–950 ramp

primary
#581A57
secondary
#408E41
accent
#DE4C4A
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581A57

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

Preview Lab → · Contrast checker → · Palette generator →

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