#581B53#581B53

#581B53 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.2% C 0.116 H 331.2°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#581B53
RGBrgb(88, 27, 83)
HSLhsl(305, 53%, 23%)
HSVhsv(305, 69%, 35%)
CMYKcmyk(0%, 69.3%, 5.7%, 65.5%)
CIE-LABlab(21.88, 35.54, -20.29)
CIE-LCHlch(21.88, 40.93, 330.28°)
OKLaboklab(34.16% 0.1013 -0.0557)
OKLCHoklch(34.16% 0.116 331.2)
XYZxyz(5.9778, 3.4835, 8.5395)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B53 #1B5820
analogous
#3E1B58 #581B53 #581B35
triadic
#581B53 #53581B #1B5358
tetradic
#581B53 #583E1B #1B5820 #1B3558
square
#581B53 #583E1B #1B5820 #1B3558
split-complementary
#581B53 #35581B #1B583E
monochromatic
#170716 #290D27 #581B53 #87297F #B638AB

Accessibility & contrast

On white

12.38
#581B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#581B53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B53
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B53#FFFFFF#000000##FFFFFF
##581B531.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172F55
Deuteranopia (green-blind)
#2C3751
Tritanopia (blue-blind)
#5C2134
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581b53;
/* rgb */ color: rgb(88, 27, 83);
/* oklch */ color: oklch(34.2% 0.116 331.2);
Tailwind
colors: {
  custom: {
    50: '#895d83',
    500: '#581b53',
    950: '#000000',
  },
}
SCSS
$custom: #581b53;
$custom-light: #895d83;
$custom-dark: #000000;
JSON
{
  "hex": "#581b53",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 83
  },
  "hsl": {
    "h": 304.918,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34164,
    "c": 0.1156,
    "h": 331.2
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#581B53
secondary
#418E47
accent
#DC574B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581B53

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

Preview Lab → · Contrast checker → · Palette generator →

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