#581D62#581D62

#581D62 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.127 H 321.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#581D62
RGBrgb(88, 29, 98)
HSLhsl(291, 54%, 25%)
HSVhsv(291, 70%, 38%)
CMYKcmyk(10.2%, 70.4%, 0%, 61.6%)
CIE-LABlab(23.12, 37.60, -28.29)
CIE-LCHlch(23.12, 47.05, 323.04°)
OKLaboklab(35.35% 0.0994 -0.0789)
OKLCHoklch(35.35% 0.127 321.6)
XYZxyz(6.6682, 3.8356, 11.9420)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D62 #27621D
analogous
#351D62 #581D62 #621D4A
triadic
#581D62 #62581D #1D6258
tetradic
#581D62 #62351D #27621D #1D4A62
square
#581D62 #62351D #27621D #1D4A62
split-complementary
#581D62 #4A621D #1D6235
monochromatic
#150718 #2E0F33 #581D62 #822B91 #AD39C0

Accessibility & contrast

On white

11.88
#581D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#581D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D62
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D62#FFFFFF#000000##FFFFFF
##581D621.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093364
Deuteranopia (green-blind)
#253960
Tritanopia (blue-blind)
#59293D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581d62;
/* rgb */ color: rgb(88, 29, 98);
/* oklch */ color: oklch(35.4% 0.127 321.6);
Tailwind
colors: {
  custom: {
    50: '#8a5e8f',
    500: '#581d62',
    950: '#000000',
  },
}
SCSS
$custom: #581d62;
$custom-light: #8a5e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#581d62",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 98
  },
  "hsl": {
    "h": 291.304,
    "s": 54.331,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3535,
    "c": 0.12691,
    "h": 321.6
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#581D62
secondary
#509744
accent
#DE4A5F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #581D62

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

Preview Lab → · Contrast checker → · Palette generator →

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