#581E5A#581E5A

#581E5A is a dark, moderate purple. Relative luminance 0.037; OKLCH L 35.0% C 0.118 H 326.4°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#581E5A
RGBrgb(88, 30, 90)
HSLhsl(298, 50%, 24%)
HSVhsv(298, 67%, 35%)
CMYKcmyk(2.2%, 66.7%, 0%, 64.7%)
CIE-LABlab(22.80, 35.48, -23.52)
CIE-LCHlch(22.80, 42.57, 326.46°)
OKLaboklab(34.96% 0.0979 -0.0651)
OKLCHoklch(34.96% 0.118 326.4)
XYZxyz(6.3341, 3.7418, 10.0595)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E5A #205A1E
analogous
#3A1E5A #581E5A #5A1E3E
triadic
#581E5A #5A581E #1E5A58
tetradic
#581E5A #5A3A1E #205A1E #1E3E5A
square
#581E5A #5A3A1E #205A1E #1E3E5A
split-complementary
#581E5A #3E5A1E #1E5A3A
monochromatic
#160817 #2B0F2C #581E5A #852D88 #B23DB6

Accessibility & contrast

On white

12.01
#581E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#581E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E5A
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E5A#FFFFFF#000000##FFFFFF
##581E5A1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15325C
Deuteranopia (green-blind)
#2B3958
Tritanopia (blue-blind)
#5A2639
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581e5a;
/* rgb */ color: rgb(88, 30, 90);
/* oklch */ color: oklch(35.0% 0.118 326.4);
Tailwind
colors: {
  custom: {
    50: '#895e89',
    500: '#581e5a',
    950: '#000000',
  },
}
SCSS
$custom: #581e5a;
$custom-light: #895e89;
$custom-dark: #000000;
JSON
{
  "hex": "#581e5a",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 90
  },
  "hsl": {
    "h": 298,
    "s": 50,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34958,
    "c": 0.11751,
    "h": 326.4
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#581E5A
secondary
#478F45
accent
#DA4E53
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #581E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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