#581776#581776

#581776 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.154 H 312.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#581776
RGBrgb(88, 23, 118)
HSLhsl(281, 67%, 28%)
HSVhsv(281, 81%, 46%)
CMYKcmyk(25.4%, 80.5%, 0%, 53.7%)
CIE-LABlab(23.66, 44.47, -40.38)
CIE-LCHlch(23.66, 60.07, 317.76°)
OKLaboklab(36.19% 0.1037 -0.1143)
OKLCHoklch(36.19% 0.154 312.2)
XYZxyz(7.6003, 3.9957, 17.5069)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581776 #357617
analogous
#291776 #581776 #761764
triadic
#581776 #765817 #177658
tetradic
#581776 #762917 #357617 #176476
square
#581776 #762917 #357617 #176476
split-complementary
#581776 #647617 #177629
monochromatic
#13051A #320D43 #581776 #7E21A9 #A231D7

Accessibility & contrast

On white

11.67
#581776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#581776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581776
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581776#FFFFFF#000000##FFFFFF
##5817761.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#063A74
Tritanopia (blue-blind)
#542E46
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581776;
/* rgb */ color: rgb(88, 23, 118);
/* oklch */ color: oklch(36.2% 0.154 312.2);
Tailwind
colors: {
  custom: {
    50: '#8b5c9e',
    500: '#581776',
    950: '#000000',
  },
}
SCSS
$custom: #581776;
$custom-light: #8b5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#581776",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 281.053,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36187,
    "c": 0.15435,
    "h": 312.2
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#581776
secondary
#60AB3E
accent
#EA3E74
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581776

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

Preview Lab → · Contrast checker → · Palette generator →

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