#581D72#581D72

#581D72 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.5% C 0.143 H 313.3°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#581D72
RGBrgb(88, 29, 114)
HSLhsl(282, 59%, 28%)
HSVhsv(282, 75%, 45%)
CMYKcmyk(22.8%, 74.6%, 0%, 55.3%)
CIE-LABlab(24.22, 41.10, -36.90)
CIE-LCHlch(24.22, 55.24, 318.08°)
OKLaboklab(36.49% 0.0983 -0.1041)
OKLCHoklch(36.49% 0.143 313.3)
XYZxyz(7.5006, 4.1686, 16.3258)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D72 #37721D
analogous
#2D1D72 #581D72 #721D61
triadic
#581D72 #72581D #1D7258
tetradic
#581D72 #722D1D #37721D #1D6172
square
#581D72 #722D1D #37721D #1D6172
split-complementary
#581D72 #61721D #1D722D
monochromatic
#130618 #321141 #581D72 #7E29A3 #A13CCD

Accessibility & contrast

On white

11.45
#581D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#581D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D72
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D72#FFFFFF#000000##FFFFFF
##581D721.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#163B70
Tritanopia (blue-blind)
#552F45
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581d72;
/* rgb */ color: rgb(88, 29, 114);
/* oklch */ color: oklch(36.5% 0.143 313.3);
Tailwind
colors: {
  custom: {
    50: '#8a5f9b',
    500: '#581d72',
    950: '#000000',
  },
}
SCSS
$custom: #581d72;
$custom-light: #8a5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#581d72",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 281.647,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3649,
    "c": 0.14321,
    "h": 313.3
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#581D72
secondary
#62A645
accent
#E34575
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581D72

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

Preview Lab → · Contrast checker → · Palette generator →

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