#581C4F#581C4F

#581C4F is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.1% C 0.110 H 334.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#581C4F
RGBrgb(88, 28, 79)
HSLhsl(309, 52%, 23%)
HSVhsv(309, 68%, 35%)
CMYKcmyk(0%, 68.2%, 10.2%, 65.5%)
CIE-LABlab(21.84, 34.34, -17.68)
CIE-LCHlch(21.84, 38.62, 332.76°)
OKLaboklab(34.06% 0.0994 -0.0482)
OKLCHoklch(34.06% 0.11 334.1)
XYZxyz(5.8511, 3.4702, 7.7573)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C4F #1C5825
analogous
#431C58 #581C4F #581C31
triadic
#581C4F #4F581C #1C4F58
tetradic
#581C4F #58431C #1C5825 #1C3158
square
#581C4F #58431C #1C5825 #1C3158
split-complementary
#581C4F #31581C #1C5843
monochromatic
#170715 #2A0D25 #581C4F #862B79 #B53AA2

Accessibility & contrast

On white

12.40
#581C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581C4F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C4F#FFFFFF#000000##FFFFFF
##581C4F1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2F51
Deuteranopia (green-blind)
#2F374D
Tritanopia (blue-blind)
#5C2032
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581c4f;
/* rgb */ color: rgb(88, 28, 79);
/* oklch */ color: oklch(34.1% 0.110 334.1);
Tailwind
colors: {
  custom: {
    50: '#895d80',
    500: '#581c4f',
    950: '#000000',
  },
}
SCSS
$custom: #581c4f;
$custom-light: #895d80;
$custom-dark: #000000;
JSON
{
  "hex": "#581c4f",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 309,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34058,
    "c": 0.11049,
    "h": 334.1
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#581C4F
secondary
#428E4E
accent
#DB624D
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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