#581E95#581E95

#581E95 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.179 H 300.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#581E95
RGBrgb(88, 30, 149)
HSLhsl(269, 66%, 35%)
HSVhsv(269, 80%, 58%)
CMYKcmyk(40.9%, 79.9%, 0%, 41.6%)
CIE-LABlab(27.22, 49.05, -54.02)
CIE-LCHlch(27.22, 72.96, 312.24°)
OKLaboklab(39.5% 0.0897 -0.1544)
OKLCHoklch(39.5% 0.179 300.1)
XYZxyz(9.9122, 5.1731, 28.9042)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E95 #5B951E
analogous
#1E1F95 #581E95 #941E95
triadic
#581E95 #95581E #1E9558
tetradic
#581E95 #951E1F #5B951E #1E9594
square
#581E95 #951E1F #5B951E #1E9594
split-complementary
#581E95 #95941E #1F951E
monochromatic
#1C092F #3A1462 #581E95 #7628C8 #9551DC

Accessibility & contrast

On white

10.32
#581E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#581E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E95
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E95#FFFFFF#000000##FFFFFF
##581E951.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#4A3E59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #581e95;
/* rgb */ color: rgb(88, 30, 149);
/* oklch */ color: oklch(39.5% 0.179 300.1);
Tailwind
colors: {
  custom: {
    50: '#8d61b5',
    500: '#581e95',
    950: '#000000',
  },
}
SCSS
$custom: #581e95;
$custom-light: #8d61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#581e95",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 269.244,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39496,
    "c": 0.17858,
    "h": 300.1
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#581E95
secondary
#89BF50
accent
#E93E96
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #581E95

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

Preview Lab → · Contrast checker → · Palette generator →

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