#581C5C#581C5C

#581C5C is a dark, vivid purple. Relative luminance 0.037; OKLCH L 34.8% C 0.122 H 325.2°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#581C5C
RGBrgb(88, 28, 92)
HSLhsl(296, 53%, 24%)
HSVhsv(296, 70%, 36%)
CMYKcmyk(4.3%, 69.6%, 0%, 63.9%)
CIE-LABlab(22.58, 36.83, -25.19)
CIE-LCHlch(22.58, 44.62, 325.62°)
OKLaboklab(34.84% 0.1006 -0.0699)
OKLCHoklch(34.84% 0.123 325.2)
XYZxyz(6.3714, 3.6783, 10.4975)
Luminance0.0368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C5C #205C1C
analogous
#381C5C #581C5C #5C1C40
triadic
#581C5C #5C581C #1C5C58
tetradic
#581C5C #5C381C #205C1C #1C405C
square
#581C5C #5C381C #205C1C #1C405C
split-complementary
#581C5C #405C1C #1C5C38
monochromatic
#160717 #2B0E2D #581C5C #852A8B #B239BA

Accessibility & contrast

On white

12.10
#581C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581C5C
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C5C#FFFFFF#000000##FFFFFF
##581C5C1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10315E
Deuteranopia (green-blind)
#28385A
Tritanopia (blue-blind)
#5A2639
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581c5c;
/* rgb */ color: rgb(88, 28, 92);
/* oklch */ color: oklch(34.8% 0.122 325.2);
Tailwind
colors: {
  custom: {
    50: '#895e8a',
    500: '#581c5c',
    950: '#000000',
  },
}
SCSS
$custom: #581c5c;
$custom-light: #895e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#581c5c",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 92
  },
  "hsl": {
    "h": 296.25,
    "s": 53.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34837,
    "c": 0.1225,
    "h": 325.2
  },
  "luminance": 0.03678
}

Semantic roles & 50–950 ramp

primary
#581C5C
secondary
#479142
accent
#DD4B54
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #581C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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