#581959#581959

#581959 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.3% C 0.124 H 327.2°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#581959
RGBrgb(88, 25, 89)
HSLhsl(299, 56%, 22%)
HSVhsv(299, 72%, 35%)
CMYKcmyk(1.1%, 71.9%, 0%, 65.1%)
CIE-LABlab(21.91, 37.58, -24.25)
CIE-LCHlch(21.91, 44.73, 327.16°)
OKLaboklab(34.3% 0.1043 -0.0671)
OKLCHoklch(34.3% 0.124 327.2)
XYZxyz(6.1752, 3.4917, 9.7980)
Luminance0.0349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581959 #1A5919
analogous
#381959 #581959 #59193A
triadic
#581959 #595819 #195958
tetradic
#581959 #593819 #1A5919 #193A59
square
#581959 #593819 #1A5919 #193A59
split-complementary
#581959 #3A5919 #195938
monochromatic
#180718 #290C29 #581959 #872689 #B634B9

Accessibility & contrast

On white

12.37
#581959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#581959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581959
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581959#FFFFFF#000000##FFFFFF
##5819591.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2F5B
Deuteranopia (green-blind)
#283757
Tritanopia (blue-blind)
#5B2236
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581959;
/* rgb */ color: rgb(88, 25, 89);
/* oklch */ color: oklch(34.3% 0.124 327.2);
Tailwind
colors: {
  custom: {
    50: '#8a5c88',
    500: '#581959',
    950: '#000000',
  },
}
SCSS
$custom: #581959;
$custom-light: #8a5c88;
$custom-dark: #000000;
JSON
{
  "hex": "#581959",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 89
  },
  "hsl": {
    "h": 299.063,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34299,
    "c": 0.12402,
    "h": 327.2
  },
  "luminance": 0.03491
}

Semantic roles & 50–950 ramp

primary
#581959
secondary
#408F3E
accent
#DF484B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581959

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

Preview Lab → · Contrast checker → · Palette generator →

#581959 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva