#581B57#581B57

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

Color values

HEX#581B57
RGBrgb(88, 27, 87)
HSLhsl(301, 53%, 23%)
HSVhsv(301, 69%, 35%)
CMYKcmyk(0%, 69.3%, 1.1%, 65.5%)
CIE-LABlab(22.11, 36.30, -22.61)
CIE-LCHlch(22.11, 42.77, 328.09°)
OKLaboklab(34.41% 0.1016 -0.0624)
OKLCHoklch(34.41% 0.119 328.5)
XYZxyz(6.1367, 3.5471, 9.3764)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B57 #1B581C
analogous
#3B1B58 #581B57 #581B38
triadic
#581B57 #57581B #1B5758
tetradic
#581B57 #583B1B #1B581C #1B3858
square
#581B57 #583B1B #1B581C #1B3858
split-complementary
#581B57 #38581B #1B583B
monochromatic
#170717 #290D29 #581B57 #872985 #B638B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##581B57#FFFFFF#000000##FFFFFF
##581B571.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)
#143059
Deuteranopia (green-blind)
#2A3855
Tritanopia (blue-blind)
#5B2336
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581b57;
/* rgb */ color: rgb(88, 27, 87);
/* oklch */ color: oklch(34.4% 0.119 328.5);
Tailwind
colors: {
  custom: {
    50: '#895d86',
    500: '#581b57',
    950: '#000000',
  },
}
SCSS
$custom: #581b57;
$custom-light: #895d86;
$custom-dark: #000000;
JSON
{
  "hex": "#581b57",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 300.984,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34405,
    "c": 0.11926,
    "h": 328.5
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#581B57
secondary
#418E42
accent
#DC4E4B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581B57

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

Preview Lab → · Contrast checker → · Palette generator →

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