#581E79#581E79

#581E79 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.149 H 310.1°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#581E79
RGBrgb(88, 30, 121)
HSLhsl(278, 60%, 30%)
HSVhsv(278, 75%, 47%)
CMYKcmyk(27.3%, 75.2%, 0%, 52.5%)
CIE-LABlab(24.90, 42.27, -40.28)
CIE-LCHlch(24.90, 58.38, 316.38°)
OKLaboklab(37.14% 0.0962 -0.1141)
OKLCHoklch(37.14% 0.149 310.1)
XYZxyz(7.9393, 4.3839, 18.5134)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E79 #3F791E
analogous
#2B1E79 #581E79 #791E6D
triadic
#581E79 #79581E #1E7958
tetradic
#581E79 #792B1E #3F791E #1E6D79
square
#581E79 #792B1E #3F791E #1E6D79
split-complementary
#581E79 #6D791E #1E792B
monochromatic
#120619 #341248 #581E79 #7C2AAA #9C41D0

Accessibility & contrast

On white

11.19
#581E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#581E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E79
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E79#FFFFFF#000000##FFFFFF
##581E791.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#0B3C77
Tritanopia (blue-blind)
#533349
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581e79;
/* rgb */ color: rgb(88, 30, 121);
/* oklch */ color: oklch(37.1% 0.149 310.1);
Tailwind
colors: {
  custom: {
    50: '#8b60a0',
    500: '#581e79',
    950: '#000000',
  },
}
SCSS
$custom: #581e79;
$custom-light: #8b60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#581e79",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 278.242,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3714,
    "c": 0.14921,
    "h": 310.1
  },
  "luminance": 0.04384
}

Semantic roles & 50–950 ramp

primary
#581E79
secondary
#6BAD46
accent
#E3447E
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #581E79

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

Preview Lab → · Contrast checker → · Palette generator →

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