#581A54#581A54

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

Color values

HEX#581A54
RGBrgb(88, 26, 84)
HSLhsl(304, 54%, 22%)
HSVhsv(304, 70%, 35%)
CMYKcmyk(0%, 70.5%, 4.5%, 65.5%)
CIE-LABlab(21.78, 36.19, -21.13)
CIE-LCHlch(21.78, 41.90, 329.72°)
OKLaboklab(34.11% 0.1027 -0.0581)
OKLCHoklch(34.11% 0.118 330.5)
XYZxyz(5.9941, 3.4540, 8.7368)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A54 #1A581E
analogous
#3D1A58 #581A54 #581A35
triadic
#581A54 #54581A #1A5458
tetradic
#581A54 #583D1A #1A581E #1A3558
square
#581A54 #583D1A #1A581E #1A3558
split-complementary
#581A54 #35581A #1A583D
monochromatic
#180717 #290C27 #581A54 #872881 #B636AE

Accessibility & contrast

On white

12.42
#581A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581A54
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A54#FFFFFF#000000##FFFFFF
##581A541.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152F56
Deuteranopia (green-blind)
#2B3752
Tritanopia (blue-blind)
#5C2134
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581a54;
/* rgb */ color: rgb(88, 26, 84);
/* oklch */ color: oklch(34.1% 0.118 330.5);
Tailwind
colors: {
  custom: {
    50: '#895c84',
    500: '#581a54',
    950: '#000000',
  },
}
SCSS
$custom: #581a54;
$custom-light: #895c84;
$custom-dark: #000000;
JSON
{
  "hex": "#581a54",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 303.871,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34105,
    "c": 0.11801,
    "h": 330.5
  },
  "luminance": 0.03454
}

Semantic roles & 50–950 ramp

primary
#581A54
secondary
#408E45
accent
#DE544A
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581A54

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

Preview Lab → · Contrast checker → · Palette generator →

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