#581A4F#581A4F

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

Color values

HEX#581A4F
RGBrgb(88, 26, 79)
HSLhsl(309, 54%, 22%)
HSVhsv(309, 70%, 35%)
CMYKcmyk(0%, 70.5%, 10.2%, 65.5%)
CIE-LABlab(21.50, 35.27, -18.20)
CIE-LCHlch(21.50, 39.69, 332.70°)
OKLaboklab(33.81% 0.1021 -0.0497)
OKLCHoklch(33.81% 0.114 334)
XYZxyz(5.8052, 3.3785, 7.7420)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A4F #1A5823
analogous
#421A58 #581A4F #581A30
triadic
#581A4F #4F581A #1A4F58
tetradic
#581A4F #58421A #1A5823 #1A3058
square
#581A4F #58421A #1A5823 #1A3058
split-complementary
#581A4F #30581A #1A5842
monochromatic
#180715 #290C25 #581A4F #872879 #B636A4

Accessibility & contrast

On white

12.53
#581A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#581A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A4F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A4F#FFFFFF#000000##FFFFFF
##581A4F1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E51
Deuteranopia (green-blind)
#2E374D
Tritanopia (blue-blind)
#5C1F32
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581a4f;
/* rgb */ color: rgb(88, 26, 79);
/* oklch */ color: oklch(33.8% 0.114 334.0);
Tailwind
colors: {
  custom: {
    50: '#895c80',
    500: '#581a4f',
    950: '#000000',
  },
}
SCSS
$custom: #581a4f;
$custom-light: #895c80;
$custom-dark: #000000;
JSON
{
  "hex": "#581a4f",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 308.71,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33813,
    "c": 0.11359,
    "h": 334
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#581A4F
secondary
#408E4B
accent
#DE5F4A
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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