#581E66#581E66

#581E66 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.7% C 0.130 H 319.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#581E66
RGBrgb(88, 30, 102)
HSLhsl(288, 55%, 26%)
HSVhsv(288, 71%, 40%)
CMYKcmyk(13.7%, 70.6%, 0%, 60%)
CIE-LABlab(23.55, 37.98, -30.22)
CIE-LCHlch(23.55, 48.53, 321.49°)
OKLaboklab(35.74% 0.0981 -0.0846)
OKLCHoklch(35.74% 0.13 319.2)
XYZxyz(6.8867, 3.9629, 12.9700)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E66 #2C661E
analogous
#341E66 #581E66 #661E50
triadic
#581E66 #66581E #1E6658
tetradic
#581E66 #66341E #2C661E #1E5066
square
#581E66 #66341E #2C661E #1E5066
split-complementary
#581E66 #50661E #1E6634
monochromatic
#140718 #2F1037 #581E66 #812C95 #AA3AC5

Accessibility & contrast

On white

11.71
#581E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#581E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E66
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E66#FFFFFF#000000##FFFFFF
##581E661.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043468
Deuteranopia (green-blind)
#233A64
Tritanopia (blue-blind)
#582B3F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581e66;
/* rgb */ color: rgb(88, 30, 102);
/* oklch */ color: oklch(35.7% 0.130 319.2);
Tailwind
colors: {
  custom: {
    50: '#8a5f92',
    500: '#581e66',
    950: '#000000',
  },
}
SCSS
$custom: #581e66;
$custom-light: #8a5f92;
$custom-dark: #000000;
JSON
{
  "hex": "#581e66",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 288.333,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35742,
    "c": 0.1295,
    "h": 319.2
  },
  "luminance": 0.03963
}

Semantic roles & 50–950 ramp

primary
#581E66
secondary
#569B45
accent
#DE4A67
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #581E66

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

Preview Lab → · Contrast checker → · Palette generator →

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