#581C58#581C58

#581C58 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.6% C 0.119 H 327.8°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#581C58
RGBrgb(88, 28, 88)
HSLhsl(300, 52%, 23%)
HSVhsv(300, 68%, 35%)
CMYKcmyk(0%, 68.2%, 0%, 65.5%)
CIE-LABlab(22.34, 36.03, -22.92)
CIE-LCHlch(22.34, 42.70, 327.54°)
OKLaboklab(34.59% 0.1004 -0.0633)
OKLCHoklch(34.59% 0.119 327.8)
XYZxyz(6.2011, 3.6102, 9.6008)
Luminance0.0361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C58 #1C581C
analogous
#3A1C58 #581C58 #581C3A
triadic
#581C58 #58581C #1C5858
tetradic
#581C58 #583A1C #1C581C #1C3A58
square
#581C58 #583A1C #1C581C #1C3A58
split-complementary
#581C58 #3A581C #1C583A
monochromatic
#170717 #2A0D2A #581C58 #862B86 #B53AB5

Accessibility & contrast

On white

12.20
#581C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#581C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C58
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C58#FFFFFF#000000##FFFFFF
##581C581.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14305A
Deuteranopia (green-blind)
#2A3856
Tritanopia (blue-blind)
#5B2437
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581c58;
/* rgb */ color: rgb(88, 28, 88);
/* oklch */ color: oklch(34.6% 0.119 327.8);
Tailwind
colors: {
  custom: {
    50: '#895d87',
    500: '#581c58',
    950: '#000000',
  },
}
SCSS
$custom: #581c58;
$custom-light: #895d87;
$custom-dark: #000000;
JSON
{
  "hex": "#581c58",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 88
  },
  "hsl": {
    "h": 300,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34586,
    "c": 0.11869,
    "h": 327.8
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#581C58
secondary
#428E42
accent
#DB4D4D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581C58

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

Preview Lab → · Contrast checker → · Palette generator →

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