#581A59#581A59

#581A59 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.123 H 327.2°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#581A59
RGBrgb(88, 26, 89)
HSLhsl(299, 55%, 23%)
HSVhsv(299, 71%, 35%)
CMYKcmyk(1.1%, 70.8%, 0%, 65.1%)
CIE-LABlab(22.07, 37.14, -24.01)
CIE-LCHlch(22.07, 44.22, 327.12°)
OKLaboklab(34.41% 0.103 -0.0664)
OKLCHoklch(34.41% 0.123 327.2)
XYZxyz(6.1970, 3.5352, 9.8052)
Luminance0.0353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A59 #1B591A
analogous
#391A59 #581A59 #591A3A
triadic
#581A59 #59581A #1A5958
tetradic
#581A59 #59391A #1B591A #1A3A59
square
#581A59 #59391A #1B591A #1A3A59
split-complementary
#581A59 #3A591A #1A5939
monochromatic
#170718 #290C2A #581A59 #872888 #B636B8

Accessibility & contrast

On white

12.30
#581A59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#581A59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A59
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A59#FFFFFF#000000##FFFFFF
##581A591.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10305B
Deuteranopia (green-blind)
#293857
Tritanopia (blue-blind)
#5B2337
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581a59;
/* rgb */ color: rgb(88, 26, 89);
/* oklch */ color: oklch(34.4% 0.123 327.2);
Tailwind
colors: {
  custom: {
    50: '#8a5c88',
    500: '#581a59',
    950: '#000000',
  },
}
SCSS
$custom: #581a59;
$custom-light: #8a5c88;
$custom-dark: #000000;
JSON
{
  "hex": "#581a59",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 89
  },
  "hsl": {
    "h": 299.048,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34412,
    "c": 0.12259,
    "h": 327.2
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#581A59
secondary
#418F40
accent
#DE4A4C
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581A59

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

Preview Lab → · Contrast checker → · Palette generator →

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