#581D83#581D83

#581D83 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.161 H 306.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#581D83
RGBrgb(88, 29, 131)
HSLhsl(275, 64%, 31%)
HSVhsv(275, 78%, 51%)
CMYKcmyk(32.8%, 77.9%, 0%, 48.6%)
CIE-LABlab(25.54, 45.07, -45.57)
CIE-LCHlch(25.54, 64.09, 314.68°)
OKLaboklab(37.84% 0.0953 -0.1296)
OKLCHoklch(37.84% 0.161 306.3)
XYZxyz(8.5597, 4.5922, 21.9038)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D83 #48831D
analogous
#251D83 #581D83 #831D7B
triadic
#581D83 #83581D #1D8358
tetradic
#581D83 #83251D #48831D #1D7B83
square
#581D83 #83251D #48831D #1D7B83
split-complementary
#581D83 #7B831D #1D8325
monochromatic
#15071F #361251 #581D83 #7A28B5 #9945D6

Accessibility & contrast

On white

10.95
#581D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#581D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D83
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D83#FFFFFF#000000##FFFFFF
##581D831.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#50364F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #581d83;
/* rgb */ color: rgb(88, 29, 131);
/* oklch */ color: oklch(37.8% 0.161 306.3);
Tailwind
colors: {
  custom: {
    50: '#8c60a8',
    500: '#581d83',
    950: '#000000',
  },
}
SCSS
$custom: #581d83;
$custom-light: #8c60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#581d83",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 274.706,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37839,
    "c": 0.16084,
    "h": 306.3
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#581D83
secondary
#75B646
accent
#E74187
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #581D83

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

Preview Lab → · Contrast checker → · Palette generator →

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