#581858#581858

#581858 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.124 H 327.9°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#581858
RGBrgb(88, 24, 88)
HSLhsl(300, 57%, 22%)
HSVhsv(300, 73%, 35%)
CMYKcmyk(0%, 72.7%, 0%, 65.5%)
CIE-LABlab(21.70, 37.82, -23.93)
CIE-LCHlch(21.70, 44.75, 327.68°)
OKLaboklab(34.13% 0.1055 -0.0662)
OKLCHoklch(34.13% 0.125 327.9)
XYZxyz(6.1125, 3.4330, 9.5713)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581858 #185818
analogous
#381858 #581858 #581838
triadic
#581858 #585818 #185858
tetradic
#581858 #583818 #185818 #183858
square
#581858 #583818 #185818 #183858
split-complementary
#581858 #385818 #185838
monochromatic
#180718 #280B28 #581858 #882588 #B832B8

Accessibility & contrast

On white

12.45
#581858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#581858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581858
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581858#FFFFFF#000000##FFFFFF
##5818581.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2F5A
Deuteranopia (green-blind)
#283756
Tritanopia (blue-blind)
#5B2136
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581858;
/* rgb */ color: rgb(88, 24, 88);
/* oklch */ color: oklch(34.1% 0.124 327.9);
Tailwind
colors: {
  custom: {
    50: '#8a5b87',
    500: '#581858',
    950: '#000000',
  },
}
SCSS
$custom: #581858;
$custom-light: #8a5b87;
$custom-dark: #000000;
JSON
{
  "hex": "#581858",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 300,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34126,
    "c": 0.1245,
    "h": 327.9
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#581858
secondary
#3D8F3D
accent
#E04747
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581858

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

Preview Lab → · Contrast checker → · Palette generator →

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