#581E72#581E72

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

Color values

HEX#581E72
RGBrgb(88, 30, 114)
HSLhsl(281, 58%, 28%)
HSVhsv(281, 74%, 45%)
CMYKcmyk(22.8%, 73.7%, 0%, 55.3%)
CIE-LABlab(24.38, 40.65, -36.65)
CIE-LCHlch(24.38, 54.73, 317.96°)
OKLaboklab(36.6% 0.0972 -0.1034)
OKLCHoklch(36.6% 0.142 313.2)
XYZxyz(7.5255, 4.2184, 16.3341)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E72 #38721E
analogous
#2E1E72 #581E72 #721E62
triadic
#581E72 #72581E #1E7258
tetradic
#581E72 #722E1E #38721E #1E6272
square
#581E72 #722E1E #38721E #1E6272
split-complementary
#581E72 #62721E #1E722E
monochromatic
#130618 #331142 #581E72 #7D2BA2 #A03ECC

Accessibility & contrast

On white

11.39
#581E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581E72
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E72#FFFFFF#000000##FFFFFF
##581E721.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#173B70
Tritanopia (blue-blind)
#553046
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581e72;
/* rgb */ color: rgb(88, 30, 114);
/* oklch */ color: oklch(36.6% 0.142 313.2);
Tailwind
colors: {
  custom: {
    50: '#8a5f9b',
    500: '#581e72',
    950: '#000000',
  },
}
SCSS
$custom: #581e72;
$custom-light: #8a5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#581e72",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 281.429,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36604,
    "c": 0.1419,
    "h": 313.2
  },
  "luminance": 0.04218
}

Semantic roles & 50–950 ramp

primary
#581E72
secondary
#64A646
accent
#E24676
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581E72

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

Preview Lab → · Contrast checker → · Palette generator →

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