#581A55#581A55

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

Color values

HEX#581A55
RGBrgb(88, 26, 85)
HSLhsl(303, 54%, 22%)
HSVhsv(303, 70%, 35%)
CMYKcmyk(0%, 70.5%, 3.4%, 65.5%)
CIE-LABlab(21.83, 36.37, -21.71)
CIE-LCHlch(21.83, 42.36, 329.17°)
OKLaboklab(34.17% 0.1028 -0.0598)
OKLCHoklch(34.17% 0.119 329.8)
XYZxyz(6.0335, 3.4698, 8.9445)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A55 #1A581D
analogous
#3C1A58 #581A55 #581A36
triadic
#581A55 #55581A #1A5558
tetradic
#581A55 #583C1A #1A581D #1A3658
square
#581A55 #583C1A #1A581D #1A3658
split-complementary
#581A55 #36581A #1A583C
monochromatic
#180717 #290C27 #581A55 #872883 #B636B0

Accessibility & contrast

On white

12.40
#581A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#581A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A55
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A55#FFFFFF#000000##FFFFFF
##581A551.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142F57
Deuteranopia (green-blind)
#2B3753
Tritanopia (blue-blind)
#5B2135
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581a55;
/* rgb */ color: rgb(88, 26, 85);
/* oklch */ color: oklch(34.2% 0.119 329.8);
Tailwind
colors: {
  custom: {
    50: '#895c85',
    500: '#581a55',
    950: '#000000',
  },
}
SCSS
$custom: #581a55;
$custom-light: #895c85;
$custom-dark: #000000;
JSON
{
  "hex": "#581a55",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 85
  },
  "hsl": {
    "h": 302.903,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34165,
    "c": 0.11891,
    "h": 329.8
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#581A55
secondary
#408E44
accent
#DE514A
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581A55

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

Preview Lab → · Contrast checker → · Palette generator →

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