#581C5F#581C5F

#581C5F is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.125 H 323.4°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#581C5F
RGBrgb(88, 28, 95)
HSLhsl(294, 54%, 24%)
HSVhsv(294, 71%, 37%)
CMYKcmyk(7.4%, 70.5%, 0%, 62.7%)
CIE-LABlab(22.76, 37.44, -26.88)
CIE-LCHlch(22.76, 46.09, 324.32°)
OKLaboklab(35.03% 0.1007 -0.0748)
OKLCHoklch(35.03% 0.125 323.4)
XYZxyz(6.5051, 3.7318, 11.2019)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C5F #235F1C
analogous
#371C5F #581C5F #5F1C45
triadic
#581C5F #5F581C #1C5F58
tetradic
#581C5F #5F371C #235F1C #1C455F
square
#581C5F #5F371C #235F1C #1C455F
split-complementary
#581C5F #455F1C #1C5F37
monochromatic
#160718 #2C0E30 #581C5F #842A8E #B038BE

Accessibility & contrast

On white

12.03
#581C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#581C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C5F
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C5F#FFFFFF#000000##FFFFFF
##581C5F1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3261
Deuteranopia (green-blind)
#26395D
Tritanopia (blue-blind)
#5A273B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581c5f;
/* rgb */ color: rgb(88, 28, 95);
/* oklch */ color: oklch(35.0% 0.125 323.4);
Tailwind
colors: {
  custom: {
    50: '#8a5e8d',
    500: '#581c5f',
    950: '#000000',
  },
}
SCSS
$custom: #581c5f;
$custom-light: #8a5e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#581c5f",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 293.731,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35032,
    "c": 0.12541,
    "h": 323.4
  },
  "luminance": 0.03731
}

Semantic roles & 50–950 ramp

primary
#581C5F
secondary
#4B9442
accent
#DE4A59
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #581C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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