#581056#581056

#581056 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.133 H 329.3°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#581056
RGBrgb(88, 16, 86)
HSLhsl(302, 69%, 20%)
HSVhsv(302, 82%, 35%)
CMYKcmyk(0%, 81.8%, 2.3%, 65.5%)
CIE-LABlab(20.51, 40.49, -24.48)
CIE-LCHlch(20.51, 47.31, 328.85°)
OKLaboklab(33.23% 0.1141 -0.0677)
OKLCHoklch(33.23% 0.133 329.3)
XYZxyz(5.8895, 3.1176, 9.0939)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581056 #105812
analogous
#361058 #581056 #581032
triadic
#581056 #565810 #105658
tetradic
#581056 #583610 #105812 #103258
square
#581056 #583610 #105812 #103258
split-complementary
#581056 #325810 #105836
monochromatic
#1A0519 #240723 #581056 #8C1989 #C023BB

Accessibility & contrast

On white

12.94
#581056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#581056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581056
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581056#FFFFFF#000000##FFFFFF
##5810561.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042B58
Deuteranopia (green-blind)
#263554
Tritanopia (blue-blind)
#5B1B32
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #581056;
/* rgb */ color: rgb(88, 16, 86);
/* oklch */ color: oklch(33.2% 0.133 329.3);
Tailwind
colors: {
  custom: {
    50: '#8a5886',
    500: '#581056',
    950: '#000000',
  },
}
SCSS
$custom: #581056;
$custom-light: #8a5886;
$custom-dark: #000000;
JSON
{
  "hex": "#581056",
  "rgb": {
    "r": 88,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 301.667,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.33231,
    "c": 0.13265,
    "h": 329.3
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#581056
secondary
#329135
accent
#EC413C
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581056

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

Preview Lab → · Contrast checker → · Palette generator →

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