#581D68#581D68

#581D68 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.8% C 0.133 H 318.3°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#581D68
RGBrgb(88, 29, 104)
HSLhsl(287, 56%, 26%)
HSVhsv(287, 72%, 41%)
CMYKcmyk(15.4%, 72.1%, 0%, 59.2%)
CIE-LABlab(23.52, 38.88, -31.57)
CIE-LCHlch(23.52, 50.08, 320.92°)
OKLaboklab(35.76% 0.0992 -0.0885)
OKLCHoklch(35.76% 0.133 318.3)
XYZxyz(6.9622, 3.9532, 13.4903)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D68 #2D681D
analogous
#321D68 #581D68 #681D52
triadic
#581D68 #68581D #1D6858
tetradic
#581D68 #68321D #2D681D #1D5268
square
#581D68 #68321D #2D681D #1D5268
split-complementary
#581D68 #52681D #1D6832
monochromatic
#140718 #301038 #581D68 #802A98 #A938C7

Accessibility & contrast

On white

11.73
#581D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#581D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D68
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D68#FFFFFF#000000##FFFFFF
##581D681.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#213A66
Tritanopia (blue-blind)
#582B40
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581d68;
/* rgb */ color: rgb(88, 29, 104);
/* oklch */ color: oklch(35.8% 0.133 318.3);
Tailwind
colors: {
  custom: {
    50: '#8a5f93',
    500: '#581d68',
    950: '#000000',
  },
}
SCSS
$custom: #581d68;
$custom-light: #8a5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#581d68",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 287.2,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35761,
    "c": 0.13296,
    "h": 318.3
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#581D68
secondary
#579D44
accent
#E04868
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #581D68

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

Preview Lab → · Contrast checker → · Palette generator →

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