#581A4E#581A4E

#581A4E is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.8% C 0.113 H 334.8°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#581A4E
RGBrgb(88, 26, 78)
HSLhsl(310, 54%, 22%)
HSVhsv(310, 70%, 35%)
CMYKcmyk(0%, 70.5%, 11.4%, 65.5%)
CIE-LABlab(21.45, 35.09, -17.61)
CIE-LCHlch(21.45, 39.26, 333.35°)
OKLaboklab(33.76% 0.102 -0.048)
OKLCHoklch(33.76% 0.113 334.8)
XYZxyz(5.7691, 3.3640, 7.5517)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A4E #1A5824
analogous
#431A58 #581A4E #581A2F
triadic
#581A4E #4E581A #1A4E58
tetradic
#581A4E #58431A #1A5824 #1A2F58
square
#581A4E #58431A #1A5824 #1A2F58
split-complementary
#581A4E #2F581A #1A5843
monochromatic
#180715 #290C24 #581A4E #872878 #B636A2

Accessibility & contrast

On white

12.55
#581A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#581A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A4E
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A4E#FFFFFF#000000##FFFFFF
##581A4E1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E50
Deuteranopia (green-blind)
#2E374C
Tritanopia (blue-blind)
#5C1E31
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #581a4e;
/* rgb */ color: rgb(88, 26, 78);
/* oklch */ color: oklch(33.8% 0.113 334.8);
Tailwind
colors: {
  custom: {
    50: '#895c7f',
    500: '#581a4e',
    950: '#000000',
  },
}
SCSS
$custom: #581a4e;
$custom-light: #895c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#581a4e",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 309.677,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33757,
    "c": 0.11273,
    "h": 334.8
  },
  "luminance": 0.03364
}

Semantic roles & 50–950 ramp

primary
#581A4E
secondary
#408E4C
accent
#DE624A
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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