#581D5C#581D5C

#581D5C is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.121 H 325.2°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#581D5C
RGBrgb(88, 29, 92)
HSLhsl(296, 52%, 24%)
HSVhsv(296, 68%, 36%)
CMYKcmyk(4.3%, 68.5%, 0%, 63.9%)
CIE-LABlab(22.75, 36.36, -24.93)
CIE-LCHlch(22.75, 44.08, 325.57°)
OKLaboklab(34.96% 0.0993 -0.0691)
OKLCHoklch(34.96% 0.121 325.2)
XYZxyz(6.3955, 3.7265, 10.5056)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D5C #215C1D
analogous
#381D5C #581D5C #5C1D40
triadic
#581D5C #5C581D #1D5C58
tetradic
#581D5C #5C381D #215C1D #1D405C
square
#581D5C #5C381D #215C1D #1D405C
split-complementary
#581D5C #405C1D #1D5C38
monochromatic
#160717 #2B0E2D #581D5C #852C8B #B13AB9

Accessibility & contrast

On white

12.03
#581D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#581D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D5C
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D5C#FFFFFF#000000##FFFFFF
##581D5C1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12325E
Deuteranopia (green-blind)
#29395A
Tritanopia (blue-blind)
#5A2639
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581d5c;
/* rgb */ color: rgb(88, 29, 92);
/* oklch */ color: oklch(35.0% 0.121 325.2);
Tailwind
colors: {
  custom: {
    50: '#895e8a',
    500: '#581d5c',
    950: '#000000',
  },
}
SCSS
$custom: #581d5c;
$custom-light: #895e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#581d5c",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 296.19,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34959,
    "c": 0.121,
    "h": 325.2
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#581D5C
secondary
#499144
accent
#DC4C55
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #581D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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