#581A84#581A84

#581A84 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.165 H 306.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#581A84
RGBrgb(88, 26, 132)
HSLhsl(275, 67%, 31%)
HSVhsv(275, 80%, 52%)
CMYKcmyk(33.3%, 80.3%, 0%, 48.2%)
CIE-LABlab(25.20, 46.53, -46.75)
CIE-LCHlch(25.20, 65.96, 314.86°)
OKLaboklab(37.63% 0.0978 -0.1331)
OKLCHoklch(37.63% 0.165 306.3)
XYZxyz(8.5578, 4.4795, 22.2391)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A84 #46841A
analogous
#231A84 #581A84 #841A7B
triadic
#581A84 #84581A #1A8458
tetradic
#581A84 #84231A #46841A #1A7B84
square
#581A84 #84231A #46841A #1A7B84
split-complementary
#581A84 #7B841A #1A8423
monochromatic
#14061E #361051 #581A84 #7A24B7 #993FD9

Accessibility & contrast

On white

11.08
#581A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#581A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A84
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A84#FFFFFF#000000##FFFFFF
##581A841.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#50354F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #581a84;
/* rgb */ color: rgb(88, 26, 132);
/* oklch */ color: oklch(37.6% 0.165 306.3);
Tailwind
colors: {
  custom: {
    50: '#8c5ea9',
    500: '#581a84',
    950: '#000000',
  },
}
SCSS
$custom: #581a84;
$custom-light: #8c5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#581a84",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 275.094,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37625,
    "c": 0.16512,
    "h": 306.3
  },
  "luminance": 0.04479
}

Semantic roles & 50–950 ramp

primary
#581A84
secondary
#73B842
accent
#EA3E85
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581A84

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

Preview Lab → · Contrast checker → · Palette generator →

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