#581C53#581C53

#581C53 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.3% C 0.114 H 331.2°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#581C53
RGBrgb(88, 28, 83)
HSLhsl(305, 52%, 23%)
HSVhsv(305, 68%, 35%)
CMYKcmyk(0%, 68.2%, 5.7%, 65.5%)
CIE-LABlab(22.05, 35.08, -20.03)
CIE-LCHlch(22.05, 40.39, 330.28°)
OKLaboklab(34.29% 0.0999 -0.055)
OKLCHoklch(34.29% 0.114 331.2)
XYZxyz(6.0011, 3.5302, 8.5473)
Luminance0.0353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C53 #1C5821
analogous
#3F1C58 #581C53 #581C35
triadic
#581C53 #53581C #1C5358
tetradic
#581C53 #583F1C #1C5821 #1C3558
square
#581C53 #583F1C #1C5821 #1C3558
split-complementary
#581C53 #35581C #1C583F
monochromatic
#170716 #2A0D27 #581C53 #862B7F #B53AAB

Accessibility & contrast

On white

12.31
#581C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581C53
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C53#FFFFFF#000000##FFFFFF
##581C531.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F55
Deuteranopia (green-blind)
#2D3851
Tritanopia (blue-blind)
#5C2234
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581c53;
/* rgb */ color: rgb(88, 28, 83);
/* oklch */ color: oklch(34.3% 0.114 331.2);
Tailwind
colors: {
  custom: {
    50: '#895d83',
    500: '#581c53',
    950: '#000000',
  },
}
SCSS
$custom: #581c53;
$custom-light: #895d83;
$custom-dark: #000000;
JSON
{
  "hex": "#581c53",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 83
  },
  "hsl": {
    "h": 305,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34286,
    "c": 0.11406,
    "h": 331.2
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#581C53
secondary
#428E49
accent
#DB594D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581C53

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

Preview Lab → · Contrast checker → · Palette generator →

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