#581A83#581A83

#581A83 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.164 H 306.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#581A83
RGBrgb(88, 26, 131)
HSLhsl(275, 67%, 31%)
HSVhsv(275, 80%, 51%)
CMYKcmyk(32.8%, 80.2%, 0%, 48.6%)
CIE-LABlab(25.11, 46.29, -46.26)
CIE-LCHlch(25.11, 65.44, 315.02°)
OKLaboklab(37.54% 0.098 -0.1316)
OKLCHoklch(37.54% 0.164 306.7)
XYZxyz(8.4897, 4.4523, 21.8805)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A83 #45831A
analogous
#241A83 #581A83 #831A79
triadic
#581A83 #83581A #1A8358
tetradic
#581A83 #83241A #45831A #1A7983
square
#581A83 #83241A #45831A #1A7983
split-complementary
#581A83 #79831A #1A8324
monochromatic
#13061D #361050 #581A83 #7A24B6 #9A3FD9

Accessibility & contrast

On white

11.11
#581A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#581A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A83
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A83#FFFFFF#000000##FFFFFF
##581A831.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#50354E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #581a83;
/* rgb */ color: rgb(88, 26, 131);
/* oklch */ color: oklch(37.5% 0.164 306.7);
Tailwind
colors: {
  custom: {
    50: '#8c5ea8',
    500: '#581a83',
    950: '#000000',
  },
}
SCSS
$custom: #581a83;
$custom-light: #8c5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#581a83",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 275.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3754,
    "c": 0.1641,
    "h": 306.7
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#581A83
secondary
#72B742
accent
#EA3E84
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581A83

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

Preview Lab → · Contrast checker → · Palette generator →

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