#581E84#581E84

#581E84 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.161 H 305.8°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#581E84
RGBrgb(88, 30, 132)
HSLhsl(274, 63%, 32%)
HSVhsv(274, 77%, 52%)
CMYKcmyk(33.3%, 77.3%, 0%, 48.2%)
CIE-LABlab(25.77, 44.88, -45.82)
CIE-LCHlch(25.77, 64.14, 314.41°)
OKLaboklab(38.03% 0.0941 -0.1303)
OKLCHoklch(38.03% 0.161 305.8)
XYZxyz(8.6527, 4.6693, 22.2707)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E84 #4A841E
analogous
#251E84 #581E84 #841E7D
triadic
#581E84 #84581E #1E8458
tetradic
#581E84 #84251E #4A841E #1E7D84
square
#581E84 #84251E #4A841E #1E7D84
split-complementary
#581E84 #7D841E #1E8425
monochromatic
#160720 #371352 #581E84 #7929B6 #9847D5

Accessibility & contrast

On white

10.86
#581E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#581E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E84
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E84#FFFFFF#000000##FFFFFF
##581E841.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#503750
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #581e84;
/* rgb */ color: rgb(88, 30, 132);
/* oklch */ color: oklch(38.0% 0.161 305.8);
Tailwind
colors: {
  custom: {
    50: '#8c60a9',
    500: '#581e84',
    950: '#000000',
  },
}
SCSS
$custom: #581e84;
$custom-light: #8c60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#581e84",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 274.118,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38028,
    "c": 0.16075,
    "h": 305.8
  },
  "luminance": 0.04669
}

Semantic roles & 50–950 ramp

primary
#581E84
secondary
#77B747
accent
#E64289
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #581E84

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

Preview Lab → · Contrast checker → · Palette generator →

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