#581C54#581C54

#581C54 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.3% C 0.115 H 330.5°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#581C54
RGBrgb(88, 28, 84)
HSLhsl(304, 52%, 23%)
HSVhsv(304, 68%, 35%)
CMYKcmyk(0%, 68.2%, 4.5%, 65.5%)
CIE-LABlab(22.11, 35.27, -20.61)
CIE-LCHlch(22.11, 40.85, 329.70°)
OKLaboklab(34.35% 0.1001 -0.0566)
OKLCHoklch(34.35% 0.115 330.5)
XYZxyz(6.0400, 3.5457, 8.7521)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C54 #1C5820
analogous
#3E1C58 #581C54 #581C36
triadic
#581C54 #54581C #1C5458
tetradic
#581C54 #583E1C #1C5820 #1C3658
square
#581C54 #583E1C #1C5820 #1C3658
split-complementary
#581C54 #36581C #1C583E
monochromatic
#170716 #2A0D28 #581C54 #862B80 #B53AAD

Accessibility & contrast

On white

12.29
#581C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581C54
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C54#FFFFFF#000000##FFFFFF
##581C541.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183056
Deuteranopia (green-blind)
#2C3852
Tritanopia (blue-blind)
#5B2235
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581c54;
/* rgb */ color: rgb(88, 28, 84);
/* oklch */ color: oklch(34.3% 0.115 330.5);
Tailwind
colors: {
  custom: {
    50: '#895d84',
    500: '#581c54',
    950: '#000000',
  },
}
SCSS
$custom: #581c54;
$custom-light: #895d84;
$custom-dark: #000000;
JSON
{
  "hex": "#581c54",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 84
  },
  "hsl": {
    "h": 304,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34345,
    "c": 0.11497,
    "h": 330.5
  },
  "luminance": 0.03545
}

Semantic roles & 50–950 ramp

primary
#581C54
secondary
#428E47
accent
#DB564D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581C54

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

Preview Lab → · Contrast checker → · Palette generator →

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