#581A60#581A60

#581A60 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 34.9% C 0.129 H 322.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#581A60
RGBrgb(88, 26, 96)
HSLhsl(293, 57%, 24%)
HSVhsv(293, 73%, 38%)
CMYKcmyk(8.3%, 72.9%, 0%, 62.4%)
CIE-LABlab(22.51, 38.54, -27.95)
CIE-LCHlch(22.51, 47.60, 324.05°)
OKLaboklab(34.87% 0.1031 -0.0779)
OKLCHoklch(34.87% 0.129 322.9)
XYZxyz(6.5050, 3.6584, 11.4276)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A60 #22601A
analogous
#351A60 #581A60 #601A45
triadic
#581A60 #60581A #1A6058
tetradic
#581A60 #60351A #22601A #1A4560
square
#581A60 #60351A #22601A #1A4560
split-complementary
#581A60 #45601A #1A6035
monochromatic
#160718 #2C0D30 #581A60 #842790 #B034C0

Accessibility & contrast

On white

12.13
#581A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#581A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A60
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A60#FFFFFF#000000##FFFFFF
##581A601.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063162
Deuteranopia (green-blind)
#25385E
Tritanopia (blue-blind)
#59263B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581a60;
/* rgb */ color: rgb(88, 26, 96);
/* oklch */ color: oklch(34.9% 0.129 322.9);
Tailwind
colors: {
  custom: {
    50: '#8a5d8d',
    500: '#581a60',
    950: '#000000',
  },
}
SCSS
$custom: #581a60;
$custom-light: #8a5d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#581a60",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 96
  },
  "hsl": {
    "h": 293.143,
    "s": 57.377,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34868,
    "c": 0.12923,
    "h": 322.9
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#581A60
secondary
#4A9640
accent
#E14759
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #581A60

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

Preview Lab → · Contrast checker → · Palette generator →

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