#581376#581376

#581376 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.8% C 0.158 H 312.6°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#581376
RGBrgb(88, 19, 118)
HSLhsl(282, 72%, 27%)
HSVhsv(282, 84%, 46%)
CMYKcmyk(25.4%, 83.9%, 0%, 53.7%)
CIE-LABlab(23.16, 45.90, -41.18)
CIE-LCHlch(23.16, 61.66, 318.10°)
OKLaboklab(35.84% 0.1072 -0.1166)
OKLCHoklch(35.84% 0.158 312.6)
XYZxyz(7.5268, 3.8487, 17.4824)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581376 #317613
analogous
#261376 #581376 #761363
triadic
#581376 #765813 #137658
tetradic
#581376 #762613 #317613 #136376
square
#581376 #762613 #317613 #136376
split-complementary
#581376 #637613 #137626
monochromatic
#14041A #310B41 #581376 #7F1BAB #A527DC

Accessibility & contrast

On white

11.87
#581376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#581376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581376
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581376#FFFFFF#000000##FFFFFF
##5813761.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#003974
Tritanopia (blue-blind)
#542C45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581376;
/* rgb */ color: rgb(88, 19, 118);
/* oklch */ color: oklch(35.8% 0.158 312.6);
Tailwind
colors: {
  custom: {
    50: '#8b5b9e',
    500: '#581376',
    950: '#000000',
  },
}
SCSS
$custom: #581376;
$custom-light: #8b5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#581376",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 281.818,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35841,
    "c": 0.15838,
    "h": 312.6
  },
  "luminance": 0.03848
}

Semantic roles & 50–950 ramp

primary
#581376
secondary
#5CAC39
accent
#EF3970
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581376

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

Preview Lab → · Contrast checker → · Palette generator →

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