#581E76#581E76

#581E76 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.146 H 311.4°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#581E76
RGBrgb(88, 30, 118)
HSLhsl(280, 59%, 29%)
HSVhsv(280, 75%, 46%)
CMYKcmyk(25.4%, 74.6%, 0%, 53.7%)
CIE-LABlab(24.68, 41.57, -38.73)
CIE-LCHlch(24.68, 56.82, 317.02°)
OKLaboklab(36.91% 0.0967 -0.1095)
OKLCHoklch(36.91% 0.146 311.4)
XYZxyz(7.7582, 4.3115, 17.5595)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E76 #3C761E
analogous
#2C1E76 #581E76 #761E68
triadic
#581E76 #76581E #1E7658
tetradic
#581E76 #762C1E #3C761E #1E6876
square
#581E76 #762C1E #3C761E #1E6876
split-complementary
#581E76 #68761E #1E762C
monochromatic
#120618 #341245 #581E76 #7C2AA7 #9E40CE

Accessibility & contrast

On white

11.28
#581E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#581E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E76
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E76#FFFFFF#000000##FFFFFF
##581E761.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#113C74
Tritanopia (blue-blind)
#543148
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581e76;
/* rgb */ color: rgb(88, 30, 118);
/* oklch */ color: oklch(36.9% 0.146 311.4);
Tailwind
colors: {
  custom: {
    50: '#8b609e',
    500: '#581e76',
    950: '#000000',
  },
}
SCSS
$custom: #581e76;
$custom-light: #8b609e;
$custom-dark: #000000;
JSON
{
  "hex": "#581e76",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 279.545,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36907,
    "c": 0.14607,
    "h": 311.4
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#581E76
secondary
#68AA46
accent
#E3457B
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581E76

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

Preview Lab → · Contrast checker → · Palette generator →

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