#581C56#581C56

#581C56 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.5% C 0.117 H 329.1°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#581C56
RGBrgb(88, 28, 86)
HSLhsl(302, 52%, 23%)
HSVhsv(302, 68%, 35%)
CMYKcmyk(0%, 68.2%, 2.3%, 65.5%)
CIE-LABlab(22.22, 35.65, -21.77)
CIE-LCHlch(22.22, 41.77, 328.59°)
OKLaboklab(34.46% 0.1002 -0.06)
OKLCHoklch(34.46% 0.117 329.1)
XYZxyz(6.1194, 3.5775, 9.1705)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C56 #1C581E
analogous
#3C1C58 #581C56 #581C38
triadic
#581C56 #56581C #1C5658
tetradic
#581C56 #583C1C #1C581E #1C3858
square
#581C56 #583C1C #1C581E #1C3858
split-complementary
#581C56 #38581C #1C583C
monochromatic
#170717 #2A0D29 #581C56 #862B83 #B53AB1

Accessibility & contrast

On white

12.24
#581C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581C56
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C56#FFFFFF#000000##FFFFFF
##581C561.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163058
Deuteranopia (green-blind)
#2B3854
Tritanopia (blue-blind)
#5B2336
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581c56;
/* rgb */ color: rgb(88, 28, 86);
/* oklch */ color: oklch(34.5% 0.117 329.1);
Tailwind
colors: {
  custom: {
    50: '#895d86',
    500: '#581c56',
    950: '#000000',
  },
}
SCSS
$custom: #581c56;
$custom-light: #895d86;
$custom-dark: #000000;
JSON
{
  "hex": "#581c56",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 302,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34464,
    "c": 0.11681,
    "h": 329.1
  },
  "luminance": 0.03577
}

Semantic roles & 50–950 ramp

primary
#581C56
secondary
#428E45
accent
#DB514D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581C56

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

Preview Lab → · Contrast checker → · Palette generator →

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