#581D73#581D73

#581D73 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.6% C 0.144 H 312.9°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#581D73
RGBrgb(88, 29, 115)
HSLhsl(281, 60%, 28%)
HSVhsv(281, 75%, 45%)
CMYKcmyk(23.5%, 74.8%, 0%, 54.9%)
CIE-LABlab(24.29, 41.32, -37.43)
CIE-LCHlch(24.29, 55.75, 317.83°)
OKLaboklab(36.57% 0.0982 -0.1057)
OKLCHoklch(36.57% 0.144 312.9)
XYZxyz(7.5578, 4.1915, 16.6272)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D73 #38731D
analogous
#2D1D73 #581D73 #731D63
triadic
#581D73 #73581D #1D7358
tetradic
#581D73 #732D1D #38731D #1D6373
square
#581D73 #732D1D #38731D #1D6373
split-complementary
#581D73 #63731D #1D732D
monochromatic
#130618 #331142 #581D73 #7D29A4 #A03CCE

Accessibility & contrast

On white

11.42
#581D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#581D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D73
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D73#FFFFFF#000000##FFFFFF
##581D731.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#153B71
Tritanopia (blue-blind)
#553046
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581d73;
/* rgb */ color: rgb(88, 29, 115);
/* oklch */ color: oklch(36.6% 0.144 312.9);
Tailwind
colors: {
  custom: {
    50: '#8a5f9c',
    500: '#581d73',
    950: '#000000',
  },
}
SCSS
$custom: #581d73;
$custom-light: #8a5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#581d73",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 281.163,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36566,
    "c": 0.14424,
    "h": 312.9
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#581D73
secondary
#64A745
accent
#E34577
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581D73

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

Preview Lab → · Contrast checker → · Palette generator →

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