#581C76#581C76

#581C76 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.7% C 0.149 H 311.7°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#581C76
RGBrgb(88, 28, 118)
HSLhsl(280, 62%, 29%)
HSVhsv(280, 76%, 46%)
CMYKcmyk(25.4%, 76.3%, 0%, 53.7%)
CIE-LABlab(24.36, 42.45, -39.23)
CIE-LCHlch(24.36, 57.80, 317.25°)
OKLaboklab(36.69% 0.0988 -0.111)
OKLCHoklch(36.69% 0.149 311.7)
XYZxyz(7.7092, 4.2134, 17.5432)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C76 #3A761C
analogous
#2B1C76 #581C76 #761C67
triadic
#581C76 #76581C #1C7658
tetradic
#581C76 #762B1C #3A761C #1C6776
square
#581C76 #762B1C #3A761C #1C6776
split-complementary
#581C76 #67761C #1C762B
monochromatic
#120619 #331045 #581C76 #7D28A7 #9F3CD1

Accessibility & contrast

On white

11.40
#581C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#581C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C76
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C76#FFFFFF#000000##FFFFFF
##581C761.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#0E3B74
Tritanopia (blue-blind)
#543047
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581c76;
/* rgb */ color: rgb(88, 28, 118);
/* oklch */ color: oklch(36.7% 0.149 311.7);
Tailwind
colors: {
  custom: {
    50: '#8b5f9e',
    500: '#581c76',
    950: '#000000',
  },
}
SCSS
$custom: #581c76;
$custom-light: #8b5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#581c76",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 280,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36687,
    "c": 0.14859,
    "h": 311.7
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#581C76
secondary
#66AA44
accent
#E54379
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581C76

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

Preview Lab → · Contrast checker → · Palette generator →

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