#581676#581676

#581676 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.155 H 312.3°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#581676
RGBrgb(88, 22, 118)
HSLhsl(281, 69%, 27%)
HSVhsv(281, 81%, 46%)
CMYKcmyk(25.4%, 81.4%, 0%, 53.7%)
CIE-LABlab(23.53, 44.85, -40.59)
CIE-LCHlch(23.53, 60.49, 317.85°)
OKLaboklab(36.1% 0.1046 -0.1149)
OKLCHoklch(36.1% 0.155 312.3)
XYZxyz(7.5808, 3.9568, 17.5004)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581676 #347616
analogous
#281676 #581676 #761664
triadic
#581676 #765816 #167658
tetradic
#581676 #762816 #347616 #166476
square
#581676 #762816 #347616 #166476
split-complementary
#581676 #647616 #167628
monochromatic
#13051A #320C42 #581676 #7E20AA #A32ED8

Accessibility & contrast

On white

11.72
#581676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#581676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581676
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581676#FFFFFF#000000##FFFFFF
##5816761.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581676;
/* rgb */ color: rgb(88, 22, 118);
/* oklch */ color: oklch(36.1% 0.155 312.3);
Tailwind
colors: {
  custom: {
    50: '#8b5c9e',
    500: '#581676',
    950: '#000000',
  },
}
SCSS
$custom: #581676;
$custom-light: #8b5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#581676",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 281.25,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36096,
    "c": 0.1554,
    "h": 312.3
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#581676
secondary
#5FAC3C
accent
#EB3C73
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581676

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

Preview Lab → · Contrast checker → · Palette generator →

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