#581E86#581E86

#581E86 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.163 H 305.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#581E86
RGBrgb(88, 30, 134)
HSLhsl(273, 63%, 32%)
HSVhsv(273, 78%, 53%)
CMYKcmyk(34.3%, 77.6%, 0%, 47.5%)
CIE-LABlab(25.93, 45.36, -46.81)
CIE-LCHlch(25.93, 65.18, 314.10°)
OKLaboklab(38.2% 0.0936 -0.1332)
OKLCHoklch(38.2% 0.163 305.1)
XYZxyz(8.7909, 4.7245, 22.9984)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E86 #4C861E
analogous
#241E86 #581E86 #861E80
triadic
#581E86 #86581E #1E8658
tetradic
#581E86 #86241E #4C861E #1E8086
square
#581E86 #86241E #4C861E #1E8086
split-complementary
#581E86 #80861E #1E8624
monochromatic
#160822 #371354 #581E86 #7929B8 #9748D6

Accessibility & contrast

On white

10.80
#581E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#581E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E86
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E86#FFFFFF#000000##FFFFFF
##581E861.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#4F3851
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #581e86;
/* rgb */ color: rgb(88, 30, 134);
/* oklch */ color: oklch(38.2% 0.163 305.1);
Tailwind
colors: {
  custom: {
    50: '#8c60aa',
    500: '#581e86',
    950: '#000000',
  },
}
SCSS
$custom: #581e86;
$custom-light: #8c60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#581e86",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 273.462,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38195,
    "c": 0.16285,
    "h": 305.1
  },
  "luminance": 0.04724
}

Semantic roles & 50–950 ramp

primary
#581E86
secondary
#79B847
accent
#E6418A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581E86

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

Preview Lab → · Contrast checker → · Palette generator →

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