#581A79#581A79

#581A79 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.154 H 310.6°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#581A79
RGBrgb(88, 26, 121)
HSLhsl(279, 65%, 29%)
HSVhsv(279, 79%, 47%)
CMYKcmyk(27.3%, 78.5%, 0%, 52.5%)
CIE-LABlab(24.30, 43.97, -41.25)
CIE-LCHlch(24.30, 60.29, 316.83°)
OKLaboklab(36.72% 0.1003 -0.1169)
OKLCHoklch(36.72% 0.154 310.6)
XYZxyz(7.8444, 4.1942, 18.4818)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A79 #3B791A
analogous
#291A79 #581A79 #791A6B
triadic
#581A79 #79581A #1A7958
tetradic
#581A79 #79291A #3B791A #1A6B79
square
#581A79 #79291A #3B791A #1A6B79
split-complementary
#581A79 #6B791A #1A7929
monochromatic
#120519 #330F47 #581A79 #7D25AB #9E39D4

Accessibility & contrast

On white

11.42
#581A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581A79
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A79#FFFFFF#000000##FFFFFF
##581A791.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#043B77
Tritanopia (blue-blind)
#533148
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581a79;
/* rgb */ color: rgb(88, 26, 121);
/* oklch */ color: oklch(36.7% 0.154 310.6);
Tailwind
colors: {
  custom: {
    50: '#8b5ea0',
    500: '#581a79',
    950: '#000000',
  },
}
SCSS
$custom: #581a79;
$custom-light: #8b5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#581a79",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 279.158,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36716,
    "c": 0.154,
    "h": 310.6
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

primary
#581A79
secondary
#67AD41
accent
#E8407A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #581A79

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

Preview Lab → · Contrast checker → · Palette generator →

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