#581976#581976

#581976 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.152 H 312.0°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#581976
RGBrgb(88, 25, 118)
HSLhsl(281, 65%, 28%)
HSVhsv(281, 79%, 46%)
CMYKcmyk(25.4%, 78.8%, 0%, 53.7%)
CIE-LABlab(23.93, 43.69, -39.94)
CIE-LCHlch(23.93, 59.20, 317.57°)
OKLaboklab(36.38% 0.1018 -0.113)
OKLCHoklch(36.38% 0.152 312)
XYZxyz(7.6415, 4.0782, 17.5207)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581976 #377619
analogous
#291976 #581976 #761965
triadic
#581976 #765819 #197658
tetradic
#581976 #762919 #377619 #196576
square
#581976 #762919 #377619 #196576
split-complementary
#581976 #657619 #197629
monochromatic
#130519 #320E43 #581976 #7E24A8 #A135D4

Accessibility & contrast

On white

11.57
#581976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#581976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581976
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581976#FFFFFF#000000##FFFFFF
##5819761.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#0A3A74
Tritanopia (blue-blind)
#542F47
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581976;
/* rgb */ color: rgb(88, 25, 118);
/* oklch */ color: oklch(36.4% 0.152 312.0);
Tailwind
colors: {
  custom: {
    50: '#8b5d9e',
    500: '#581976',
    950: '#000000',
  },
}
SCSS
$custom: #581976;
$custom-light: #8b5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#581976",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 280.645,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36378,
    "c": 0.15214,
    "h": 312
  },
  "luminance": 0.04078
}

Semantic roles & 50–950 ramp

primary
#581976
secondary
#62AB40
accent
#E84076
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581976

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

Preview Lab → · Contrast checker → · Palette generator →

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