#581E6A#581E6A

#581E6A is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.134 H 317.1°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#581E6A
RGBrgb(88, 30, 106)
HSLhsl(286, 56%, 27%)
HSVhsv(286, 72%, 42%)
CMYKcmyk(17%, 71.7%, 0%, 58.4%)
CIE-LABlab(23.82, 38.85, -32.39)
CIE-LCHlch(23.82, 50.58, 320.18°)
OKLaboklab(36.02% 0.0979 -0.0909)
OKLCHoklch(36.02% 0.134 317.1)
XYZxyz(7.0899, 4.0442, 14.0400)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E6A #306A1E
analogous
#321E6A #581E6A #6A1E56
triadic
#581E6A #6A581E #1E6A58
tetradic
#581E6A #6A321E #306A1E #1E566A
square
#581E6A #6A321E #306A1E #1E566A
split-complementary
#581E6A #566A1E #1E6A32
monochromatic
#140718 #30113A #581E6A #802C9A #A63BC7

Accessibility & contrast

On white

11.61
#581E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#581E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E6A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E6A#FFFFFF#000000##FFFFFF
##581E6A1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#203A68
Tritanopia (blue-blind)
#572C41
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581e6a;
/* rgb */ color: rgb(88, 30, 106);
/* oklch */ color: oklch(36.0% 0.134 317.1);
Tailwind
colors: {
  custom: {
    50: '#8a5f95',
    500: '#581e6a',
    950: '#000000',
  },
}
SCSS
$custom: #581e6a;
$custom-light: #8a5f95;
$custom-dark: #000000;
JSON
{
  "hex": "#581e6a",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 106
  },
  "hsl": {
    "h": 285.789,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36021,
    "c": 0.1336,
    "h": 317.1
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#581E6A
secondary
#5A9E45
accent
#DF496C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #581E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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