#581B60#581B60

#581B60 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.128 H 322.9°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#581B60
RGBrgb(88, 27, 96)
HSLhsl(293, 56%, 24%)
HSVhsv(293, 72%, 38%)
CMYKcmyk(8.3%, 71.9%, 0%, 62.4%)
CIE-LABlab(22.67, 38.09, -27.70)
CIE-LCHlch(22.67, 47.10, 323.98°)
OKLaboklab(34.98% 0.1019 -0.0772)
OKLCHoklch(34.98% 0.128 322.9)
XYZxyz(6.5275, 3.7035, 11.4351)
Luminance0.0370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B60 #23601B
analogous
#361B60 #581B60 #601B46
triadic
#581B60 #60581B #1B6058
tetradic
#581B60 #60361B #23601B #1B4660
square
#581B60 #60361B #23601B #1B4660
split-complementary
#581B60 #46601B #1B6036
monochromatic
#160718 #2C0E30 #581B60 #842890 #B036C0

Accessibility & contrast

On white

12.06
#581B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#581B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B60
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B60#FFFFFF#000000##FFFFFF
##581B601.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083262
Deuteranopia (green-blind)
#25395E
Tritanopia (blue-blind)
#59263B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581b60;
/* rgb */ color: rgb(88, 27, 96);
/* oklch */ color: oklch(35.0% 0.128 322.9);
Tailwind
colors: {
  custom: {
    50: '#8a5d8d',
    500: '#581b60',
    950: '#000000',
  },
}
SCSS
$custom: #581b60;
$custom-light: #8a5d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#581b60",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 293.043,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34981,
    "c": 0.12782,
    "h": 322.9
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#581B60
secondary
#4B9641
accent
#DF485A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #581B60

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

Preview Lab → · Contrast checker → · Palette generator →

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