#581859#581859

#581859 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.125 H 327.3°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#581859
RGBrgb(88, 24, 89)
HSLhsl(299, 58%, 22%)
HSVhsv(299, 73%, 35%)
CMYKcmyk(1.1%, 73%, 0%, 65.1%)
CIE-LABlab(21.76, 38.01, -24.50)
CIE-LCHlch(21.76, 45.22, 327.20°)
OKLaboklab(34.19% 0.1055 -0.0678)
OKLCHoklch(34.19% 0.125 327.3)
XYZxyz(6.1542, 3.4497, 9.7910)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581859 #195918
analogous
#381859 #581859 #59183A
triadic
#581859 #595818 #185958
tetradic
#581859 #593818 #195918 #183A59
square
#581859 #593818 #195918 #183A59
split-complementary
#581859 #3A5918 #185938
monochromatic
#180618 #280B29 #581859 #882589 #B732B9

Accessibility & contrast

On white

12.43
#581859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581859
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581859#FFFFFF#000000##FFFFFF
##5818591.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581859;
/* rgb */ color: rgb(88, 24, 89);
/* oklch */ color: oklch(34.2% 0.125 327.3);
Tailwind
colors: {
  custom: {
    50: '#8a5b88',
    500: '#581859',
    950: '#000000',
  },
}
SCSS
$custom: #581859;
$custom-light: #8a5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#581859",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 89
  },
  "hsl": {
    "h": 299.077,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34189,
    "c": 0.12541,
    "h": 327.3
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#581859
secondary
#3E903D
accent
#E14749
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581859

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

Preview Lab → · Contrast checker → · Palette generator →

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