#581C55#581C55

#581C55 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.4% C 0.116 H 329.8°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#581C55
RGBrgb(88, 28, 85)
HSLhsl(303, 52%, 23%)
HSVhsv(303, 68%, 35%)
CMYKcmyk(0%, 68.2%, 3.4%, 65.5%)
CIE-LABlab(22.17, 35.45, -21.19)
CIE-LCHlch(22.17, 41.30, 329.14°)
OKLaboklab(34.41% 0.1002 -0.0583)
OKLCHoklch(34.41% 0.116 329.8)
XYZxyz(6.0794, 3.5615, 8.9598)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C55 #1C581F
analogous
#3D1C58 #581C55 #581C37
triadic
#581C55 #55581C #1C5558
tetradic
#581C55 #583D1C #1C581F #1C3758
square
#581C55 #583D1C #1C581F #1C3758
split-complementary
#581C55 #37581C #1C583D
monochromatic
#170716 #2A0D28 #581C55 #862B82 #B53AAF

Accessibility & contrast

On white

12.26
#581C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#581C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C55
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C55#FFFFFF#000000##FFFFFF
##581C551.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173057
Deuteranopia (green-blind)
#2C3853
Tritanopia (blue-blind)
#5B2335
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581c55;
/* rgb */ color: rgb(88, 28, 85);
/* oklch */ color: oklch(34.4% 0.116 329.8);
Tailwind
colors: {
  custom: {
    50: '#895d85',
    500: '#581c55',
    950: '#000000',
  },
}
SCSS
$custom: #581c55;
$custom-light: #895d85;
$custom-dark: #000000;
JSON
{
  "hex": "#581c55",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 85
  },
  "hsl": {
    "h": 303,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34405,
    "c": 0.11589,
    "h": 329.8
  },
  "luminance": 0.03561
}

Semantic roles & 50–950 ramp

primary
#581C55
secondary
#428E46
accent
#DB544D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581C55

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

Preview Lab → · Contrast checker → · Palette generator →

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