#581576#581576

#581576 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 36.0% C 0.156 H 312.4°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#581576
RGBrgb(88, 21, 118)
HSLhsl(281, 70%, 27%)
HSVhsv(281, 82%, 46%)
CMYKcmyk(25.4%, 82.2%, 0%, 53.7%)
CIE-LABlab(23.40, 45.21, -40.79)
CIE-LCHlch(23.40, 60.89, 317.94°)
OKLaboklab(36.01% 0.1055 -0.1155)
OKLCHoklch(36.01% 0.156 312.4)
XYZxyz(7.5621, 3.9193, 17.4942)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581576 #337615
analogous
#271576 #581576 #761564
triadic
#581576 #765815 #157658
tetradic
#581576 #762715 #337615 #156476
square
#581576 #762715 #337615 #156476
split-complementary
#581576 #647615 #157627
monochromatic
#13051A #310C42 #581576 #7F1EAA #A42CD9

Accessibility & contrast

On white

11.77
#581576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#581576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581576
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581576#FFFFFF#000000##FFFFFF
##5815761.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#033974
Tritanopia (blue-blind)
#542D46
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581576;
/* rgb */ color: rgb(88, 21, 118);
/* oklch */ color: oklch(36.0% 0.156 312.4);
Tailwind
colors: {
  custom: {
    50: '#8b5c9e',
    500: '#581576',
    950: '#000000',
  },
}
SCSS
$custom: #581576;
$custom-light: #8b5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#581576",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 281.443,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36008,
    "c": 0.15643,
    "h": 312.4
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

primary
#581576
secondary
#5EAC3B
accent
#ED3B72
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581576

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

Preview Lab → · Contrast checker → · Palette generator →

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