#581A56#581A56

#581A56 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.2% C 0.120 H 329.1°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#581A56
RGBrgb(88, 26, 86)
HSLhsl(302, 54%, 22%)
HSVhsv(302, 70%, 35%)
CMYKcmyk(0%, 70.5%, 2.3%, 65.5%)
CIE-LABlab(21.89, 36.56, -22.29)
CIE-LCHlch(21.89, 42.82, 328.64°)
OKLaboklab(34.23% 0.1029 -0.0615)
OKLCHoklch(34.23% 0.12 329.1)
XYZxyz(6.0736, 3.4858, 9.1552)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A56 #1A581C
analogous
#3B1A58 #581A56 #581A37
triadic
#581A56 #56581A #1A5658
tetradic
#581A56 #583B1A #1A581C #1A3758
square
#581A56 #583B1A #1A581C #1A3758
split-complementary
#581A56 #37581A #1A583B
monochromatic
#180717 #290C28 #581A56 #872884 #B636B2

Accessibility & contrast

On white

12.37
#581A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581A56
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A56#FFFFFF#000000##FFFFFF
##581A561.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132F58
Deuteranopia (green-blind)
#2A3754
Tritanopia (blue-blind)
#5B2235
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581a56;
/* rgb */ color: rgb(88, 26, 86);
/* oklch */ color: oklch(34.2% 0.120 329.1);
Tailwind
colors: {
  custom: {
    50: '#8a5c86',
    500: '#581a56',
    950: '#000000',
  },
}
SCSS
$custom: #581a56;
$custom-light: #8a5c86;
$custom-dark: #000000;
JSON
{
  "hex": "#581a56",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 301.935,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34226,
    "c": 0.11982,
    "h": 329.1
  },
  "luminance": 0.03485
}

Semantic roles & 50–950 ramp

primary
#581A56
secondary
#408E42
accent
#DE4F4A
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581A56

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

Preview Lab → · Contrast checker → · Palette generator →

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