#581D80#581D80

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

Color values

HEX#581D80
RGBrgb(88, 29, 128)
HSLhsl(276, 63%, 31%)
HSVhsv(276, 77%, 50%)
CMYKcmyk(31.3%, 77.3%, 0%, 49.8%)
CIE-LABlab(25.30, 44.35, -44.07)
CIE-LCHlch(25.30, 62.53, 315.18°)
OKLaboklab(37.59% 0.0959 -0.1252)
OKLCHoklch(37.59% 0.158 307.5)
XYZxyz(8.3593, 4.5121, 20.8484)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D80 #45801D
analogous
#271D80 #581D80 #801D76
triadic
#581D80 #80581D #1D8058
tetradic
#581D80 #80271D #45801D #1D7680
square
#581D80 #80271D #45801D #1D7680
split-complementary
#581D80 #76801D #1D8027
monochromatic
#13061C #36124E #581D80 #7A28B2 #9A43D4

Accessibility & contrast

On white

11.04
#581D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581D80
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D80#FFFFFF#000000##FFFFFF
##581D801.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#51354D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #581d80;
/* rgb */ color: rgb(88, 29, 128);
/* oklch */ color: oklch(37.6% 0.158 307.5);
Tailwind
colors: {
  custom: {
    50: '#8b60a6',
    500: '#581d80',
    950: '#000000',
  },
}
SCSS
$custom: #581d80;
$custom-light: #8b60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#581d80",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 275.758,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37592,
    "c": 0.15772,
    "h": 307.5
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#581D80
secondary
#72B345
accent
#E64284
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #581D80

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

Preview Lab → · Contrast checker → · Palette generator →

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