#581C5D#581C5D

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

Color values

HEX#581C5D
RGBrgb(88, 28, 93)
HSLhsl(295, 54%, 24%)
HSVhsv(295, 70%, 36%)
CMYKcmyk(5.4%, 69.9%, 0%, 63.5%)
CIE-LABlab(22.64, 37.03, -25.76)
CIE-LCHlch(22.64, 45.11, 325.18°)
OKLaboklab(34.9% 0.1006 -0.0715)
OKLCHoklch(34.9% 0.123 324.6)
XYZxyz(6.4154, 3.6959, 10.7293)
Luminance0.0370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C5D #215D1C
analogous
#371C5D #581C5D #5D1C41
triadic
#581C5D #5D581C #1C5D58
tetradic
#581C5D #5D371C #215D1C #1C415D
square
#581C5D #5D371C #215D1C #1C415D
split-complementary
#581C5D #415D1C #1C5D37
monochromatic
#160718 #2B0E2E #581C5D #852A8C #B138BB

Accessibility & contrast

On white

12.07
#581C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#581C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C5D
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C5D#FFFFFF#000000##FFFFFF
##581C5D1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F315F
Deuteranopia (green-blind)
#28395B
Tritanopia (blue-blind)
#5A263A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581c5d;
/* rgb */ color: rgb(88, 28, 93);
/* oklch */ color: oklch(34.9% 0.123 324.6);
Tailwind
colors: {
  custom: {
    50: '#8a5e8b',
    500: '#581c5d',
    950: '#000000',
  },
}
SCSS
$custom: #581c5d;
$custom-light: #8a5e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#581c5d",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 295.385,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34901,
    "c": 0.12347,
    "h": 324.6
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#581C5D
secondary
#499242
accent
#DD4B56
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #581C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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