#581A53#581A53

#581A53 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 34.0% C 0.117 H 331.2°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#581A53
RGBrgb(88, 26, 83)
HSLhsl(305, 54%, 22%)
HSVhsv(305, 70%, 35%)
CMYKcmyk(0%, 70.5%, 5.7%, 65.5%)
CIE-LABlab(21.72, 36.00, -20.55)
CIE-LCHlch(21.72, 41.45, 330.28°)
OKLaboklab(34.04% 0.1026 -0.0564)
OKLCHoklch(34.04% 0.117 331.2)
XYZxyz(5.9552, 3.4385, 8.5320)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A53 #1A581F
analogous
#3E1A58 #581A53 #581A34
triadic
#581A53 #53581A #1A5358
tetradic
#581A53 #583E1A #1A581F #1A3458
square
#581A53 #583E1A #1A581F #1A3458
split-complementary
#581A53 #34581A #1A583E
monochromatic
#180716 #290C26 #581A53 #872880 #B636AC

Accessibility & contrast

On white

12.44
#581A53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#581A53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A53
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A53#FFFFFF#000000##FFFFFF
##581A531.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162F55
Deuteranopia (green-blind)
#2C3751
Tritanopia (blue-blind)
#5C2034
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581a53;
/* rgb */ color: rgb(88, 26, 83);
/* oklch */ color: oklch(34.0% 0.117 331.2);
Tailwind
colors: {
  custom: {
    50: '#895c83',
    500: '#581a53',
    950: '#000000',
  },
}
SCSS
$custom: #581a53;
$custom-light: #895c83;
$custom-dark: #000000;
JSON
{
  "hex": "#581a53",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 83
  },
  "hsl": {
    "h": 304.839,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34045,
    "c": 0.11711,
    "h": 331.2
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#581A53
secondary
#408E46
accent
#DE564A
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581A53

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

Preview Lab → · Contrast checker → · Palette generator →

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