#581156#581156

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

Color values

HEX#581156
RGBrgb(88, 17, 86)
HSLhsl(302, 68%, 21%)
HSVhsv(302, 81%, 35%)
CMYKcmyk(0%, 80.7%, 2.3%, 65.5%)
CIE-LABlab(20.63, 40.15, -24.29)
CIE-LCHlch(20.63, 46.93, 328.83°)
OKLaboklab(33.32% 0.1131 -0.0672)
OKLCHoklch(33.32% 0.132 329.3)
XYZxyz(5.9046, 3.1479, 9.0989)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581156 #115813
analogous
#361158 #581156 #581132
triadic
#581156 #565811 #115658
tetradic
#581156 #583611 #115813 #113258
square
#581156 #583611 #115813 #113258
split-complementary
#581156 #325811 #115836
monochromatic
#1A0519 #250724 #581156 #8B1B88 #BF25BA

Accessibility & contrast

On white

12.89
#581156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#581156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581156
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581156#FFFFFF#000000##FFFFFF
##5811561.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062C58
Deuteranopia (green-blind)
#263554
Tritanopia (blue-blind)
#5B1C33
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581156;
/* rgb */ color: rgb(88, 17, 86);
/* oklch */ color: oklch(33.3% 0.132 329.3);
Tailwind
colors: {
  custom: {
    50: '#8a5886',
    500: '#581156',
    950: '#000000',
  },
}
SCSS
$custom: #581156;
$custom-light: #8a5886;
$custom-dark: #000000;
JSON
{
  "hex": "#581156",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 301.69,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33315,
    "c": 0.13154,
    "h": 329.3
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#581156
secondary
#349136
accent
#EA423D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581156

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

Preview Lab → · Contrast checker → · Palette generator →

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