#581E63#581E63

#581E63 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.5% C 0.126 H 320.9°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#581E63
RGBrgb(88, 30, 99)
HSLhsl(290, 53%, 25%)
HSVhsv(290, 70%, 39%)
CMYKcmyk(11.1%, 69.7%, 0%, 61.2%)
CIE-LABlab(23.35, 37.34, -28.57)
CIE-LCHlch(23.35, 47.01, 322.58°)
OKLaboklab(35.54% 0.0981 -0.0797)
OKLCHoklch(35.54% 0.126 320.9)
XYZxyz(6.7406, 3.9044, 12.2005)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E63 #29631E
analogous
#361E63 #581E63 #631E4B
triadic
#581E63 #63581E #1E6358
tetradic
#581E63 #63361E #29631E #1E4B63
square
#581E63 #63361E #29631E #1E4B63
split-complementary
#581E63 #4B631E #1E6336
monochromatic
#150717 #2E1034 #581E63 #822C92 #AB3AC1

Accessibility & contrast

On white

11.79
#581E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#581E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E63
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E63#FFFFFF#000000##FFFFFF
##581E631.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3465
Deuteranopia (green-blind)
#253A61
Tritanopia (blue-blind)
#592A3D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581e63;
/* rgb */ color: rgb(88, 30, 99);
/* oklch */ color: oklch(35.5% 0.126 320.9);
Tailwind
colors: {
  custom: {
    50: '#8a5f90',
    500: '#581e63',
    950: '#000000',
  },
}
SCSS
$custom: #581e63;
$custom-light: #8a5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#581e63",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 290.435,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35538,
    "c": 0.12645,
    "h": 320.9
  },
  "luminance": 0.03904
}

Semantic roles & 50–950 ramp

primary
#581E63
secondary
#529845
accent
#DD4B62
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #581E63

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

Preview Lab → · Contrast checker → · Palette generator →

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