#581A76#581A76

#581A76 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.5% C 0.151 H 311.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#581A76
RGBrgb(88, 26, 118)
HSLhsl(280, 64%, 28%)
HSVhsv(280, 78%, 46%)
CMYKcmyk(25.4%, 78%, 0%, 53.7%)
CIE-LABlab(24.07, 43.29, -39.71)
CIE-LCHlch(24.07, 58.75, 317.47°)
OKLaboklab(36.48% 0.1008 -0.1124)
OKLCHoklch(36.48% 0.151 311.9)
XYZxyz(7.6633, 4.1217, 17.5279)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A76 #38761A
analogous
#2A1A76 #581A76 #761A66
triadic
#581A76 #76581A #1A7658
tetradic
#581A76 #762A1A #38761A #1A6676
square
#581A76 #762A1A #38761A #1A6676
split-complementary
#581A76 #66761A #1A762A
monochromatic
#130619 #330F44 #581A76 #7D25A8 #A037D3

Accessibility & contrast

On white

11.51
#581A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#581A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A76
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A76#FFFFFF#000000##FFFFFF
##581A761.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581a76;
/* rgb */ color: rgb(88, 26, 118);
/* oklch */ color: oklch(36.5% 0.151 311.9);
Tailwind
colors: {
  custom: {
    50: '#8b5e9e',
    500: '#581a76',
    950: '#000000',
  },
}
SCSS
$custom: #581a76;
$custom-light: #8b5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#581a76",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 280.435,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36478,
    "c": 0.15098,
    "h": 311.9
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#581A76
secondary
#64AB41
accent
#E74177
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581A76

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

Preview Lab → · Contrast checker → · Palette generator →

#581A76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva