#581D76#581D76

#581D76 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.147 H 311.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#581D76
RGBrgb(88, 29, 118)
HSLhsl(280, 61%, 29%)
HSVhsv(280, 75%, 46%)
CMYKcmyk(25.4%, 75.4%, 0%, 53.7%)
CIE-LABlab(24.52, 42.01, -38.99)
CIE-LCHlch(24.52, 57.32, 317.14°)
OKLaboklab(36.8% 0.0977 -0.1103)
OKLCHoklch(36.8% 0.147 311.6)
XYZxyz(7.7333, 4.2616, 17.5512)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D76 #3B761D
analogous
#2C1D76 #581D76 #761D68
triadic
#581D76 #76581D #1D7658
tetradic
#581D76 #762C1D #3B761D #1D6876
square
#581D76 #762C1D #3B761D #1D6876
split-complementary
#581D76 #68761D #1D762C
monochromatic
#120619 #331145 #581D76 #7D29A7 #9E3ED0

Accessibility & contrast

On white

11.34
#581D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#581D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D76
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D76#FFFFFF#000000##FFFFFF
##581D761.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#103B74
Tritanopia (blue-blind)
#543148
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581d76;
/* rgb */ color: rgb(88, 29, 118);
/* oklch */ color: oklch(36.8% 0.147 311.6);
Tailwind
colors: {
  custom: {
    50: '#8b5f9e',
    500: '#581d76',
    950: '#000000',
  },
}
SCSS
$custom: #581d76;
$custom-light: #8b5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#581d76",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 279.775,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36796,
    "c": 0.14734,
    "h": 311.6
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#581D76
secondary
#67AA45
accent
#E4447A
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581D76

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

Preview Lab → · Contrast checker → · Palette generator →

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