#581B50#581B50

#581B50 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 34.0% C 0.113 H 333.3°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#581B50
RGBrgb(88, 27, 80)
HSLhsl(308, 53%, 23%)
HSVhsv(308, 69%, 35%)
CMYKcmyk(0%, 69.3%, 9.1%, 65.5%)
CIE-LABlab(21.72, 34.99, -18.53)
CIE-LCHlch(21.72, 39.59, 332.09°)
OKLaboklab(33.99% 0.1009 -0.0507)
OKLCHoklch(33.99% 0.113 333.3)
XYZxyz(5.8644, 3.4382, 7.9426)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B50 #1B5823
analogous
#421B58 #581B50 #581B31
triadic
#581B50 #50581B #1B5058
tetradic
#581B50 #58421B #1B5823 #1B3158
square
#581B50 #58421B #1B5823 #1B3158
split-complementary
#581B50 #31581B #1B5842
monochromatic
#170715 #290D25 #581B50 #87297B #B638A5

Accessibility & contrast

On white

12.44
#581B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581B50
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B50#FFFFFF#000000##FFFFFF
##581B501.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E52
Deuteranopia (green-blind)
#2E374E
Tritanopia (blue-blind)
#5C2032
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581b50;
/* rgb */ color: rgb(88, 27, 80);
/* oklch */ color: oklch(34.0% 0.113 333.3);
Tailwind
colors: {
  custom: {
    50: '#895d81',
    500: '#581b50',
    950: '#000000',
  },
}
SCSS
$custom: #581b50;
$custom-light: #895d81;
$custom-dark: #000000;
JSON
{
  "hex": "#581b50",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 80
  },
  "hsl": {
    "h": 307.869,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3399,
    "c": 0.11293,
    "h": 333.3
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#581B50
secondary
#418E4B
accent
#DC5E4B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581B50

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

Preview Lab → · Contrast checker → · Palette generator →

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