#581D93#581D93

#581D93 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.177 H 300.9°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#581D93
RGBrgb(88, 29, 147)
HSLhsl(270, 67%, 35%)
HSVhsv(270, 80%, 58%)
CMYKcmyk(40.1%, 80.3%, 0%, 42.4%)
CIE-LABlab(26.90, 48.96, -53.30)
CIE-LCHlch(26.90, 72.37, 312.57°)
OKLaboklab(39.22% 0.0911 -0.1523)
OKLCHoklch(39.22% 0.177 300.9)
XYZxyz(9.7290, 5.0599, 28.0622)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D93 #58931D
analogous
#1D1D93 #581D93 #931D93
triadic
#581D93 #93581D #1D9358
tetradic
#581D93 #931D1D #58931D #1D9393
square
#581D93 #931D1D #58931D #1D9393
split-complementary
#581D93 #93931D #1D931D
monochromatic
#1B092D #391360 #581D93 #7727C6 #954EDC

Accessibility & contrast

On white

10.44
#581D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#581D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D93
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D93#FFFFFF#000000##FFFFFF
##581D931.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#4B3D58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #581d93;
/* rgb */ color: rgb(88, 29, 147);
/* oklch */ color: oklch(39.2% 0.177 300.9);
Tailwind
colors: {
  custom: {
    50: '#8d61b4',
    500: '#581d93',
    950: '#000000',
  },
}
SCSS
$custom: #581d93;
$custom-light: #8d61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#581d93",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 270,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39219,
    "c": 0.17747,
    "h": 300.9
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#581D93
secondary
#86BF4D
accent
#EA3E94
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #581D93

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

Preview Lab → · Contrast checker → · Palette generator →

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