#581D53#581D53

#581D53 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.4% C 0.112 H 331.2°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#581D53
RGBrgb(88, 29, 83)
HSLhsl(305, 50%, 23%)
HSVhsv(305, 67%, 35%)
CMYKcmyk(0%, 67%, 5.7%, 65.5%)
CIE-LABlab(22.23, 34.60, -19.76)
CIE-LCHlch(22.23, 39.84, 330.27°)
OKLaboklab(34.41% 0.0986 -0.0542)
OKLCHoklch(34.41% 0.112 331.2)
XYZxyz(6.0252, 3.5784, 8.5553)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D53 #1D5822
analogous
#3F1D58 #581D53 #581D35
triadic
#581D53 #53581D #1D5358
tetradic
#581D53 #583F1D #1D5822 #1D3558
square
#581D53 #583F1D #1D5822 #1D3558
split-complementary
#581D53 #35581D #1D583F
monochromatic
#170816 #2A0E28 #581D53 #862C7E #B43BAA

Accessibility & contrast

On white

12.24
#581D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#581D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D53
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D53#FFFFFF#000000##FFFFFF
##581D531.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3055
Deuteranopia (green-blind)
#2D3851
Tritanopia (blue-blind)
#5C2335
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581d53;
/* rgb */ color: rgb(88, 29, 83);
/* oklch */ color: oklch(34.4% 0.112 331.2);
Tailwind
colors: {
  custom: {
    50: '#895e83',
    500: '#581d53',
    950: '#000000',
  },
}
SCSS
$custom: #581d53;
$custom-light: #895e83;
$custom-dark: #000000;
JSON
{
  "hex": "#581d53",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 305.085,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34412,
    "c": 0.11248,
    "h": 331.2
  },
  "luminance": 0.03578
}

Semantic roles & 50–950 ramp

primary
#581D53
secondary
#448D4A
accent
#DA5A4E
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581D53

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

Preview Lab → · Contrast checker → · Palette generator →

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