#581E56#581E56

#581E56 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.7% C 0.114 H 329.1°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#581E56
RGBrgb(88, 30, 86)
HSLhsl(302, 49%, 23%)
HSVhsv(302, 66%, 35%)
CMYKcmyk(0%, 65.9%, 2.3%, 65.5%)
CIE-LABlab(22.57, 34.69, -21.22)
CIE-LCHlch(22.57, 40.66, 328.54°)
OKLaboklab(34.72% 0.0975 -0.0584)
OKLCHoklch(34.72% 0.114 329.1)
XYZxyz(6.1684, 3.6756, 9.1869)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E56 #1E5820
analogous
#3D1E58 #581E56 #581E39
triadic
#581E56 #56581E #1E5658
tetradic
#581E56 #583D1E #1E5820 #1E3958
square
#581E56 #583D1E #1E5820 #1E3958
split-complementary
#581E56 #39581E #1E583D
monochromatic
#170816 #2A0E29 #581E56 #862E83 #B33DAF

Accessibility & contrast

On white

12.10
#581E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#581E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E56
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E56#FFFFFF#000000##FFFFFF
##581E561.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193158
Deuteranopia (green-blind)
#2D3954
Tritanopia (blue-blind)
#5B2537
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581e56;
/* rgb */ color: rgb(88, 30, 86);
/* oklch */ color: oklch(34.7% 0.114 329.1);
Tailwind
colors: {
  custom: {
    50: '#895e86',
    500: '#581e56',
    950: '#000000',
  },
}
SCSS
$custom: #581e56;
$custom-light: #895e86;
$custom-dark: #000000;
JSON
{
  "hex": "#581e56",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 302.069,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34716,
    "c": 0.11367,
    "h": 329.1
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#581E56
secondary
#458D47
accent
#D9544F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #581E56

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

Preview Lab → · Contrast checker → · Palette generator →

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