#581E60#581E60

#581E60 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.3% C 0.123 H 322.6°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#581E60
RGBrgb(88, 30, 96)
HSLhsl(293, 52%, 25%)
HSVhsv(293, 69%, 38%)
CMYKcmyk(8.3%, 68.7%, 0%, 62.4%)
CIE-LABlab(23.16, 36.71, -26.90)
CIE-LCHlch(23.16, 45.51, 323.76°)
OKLaboklab(35.34% 0.0981 -0.0749)
OKLCHoklch(35.34% 0.123 322.6)
XYZxyz(6.5999, 3.8481, 11.4592)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E60 #26601E
analogous
#371E60 #581E60 #601E47
triadic
#581E60 #60581E #1E6058
tetradic
#581E60 #60371E #26601E #1E4760
square
#581E60 #60371E #26601E #1E4760
split-complementary
#581E60 #47601E #1E6037
monochromatic
#150717 #2D0F31 #581E60 #832D8F #AD3BBD

Accessibility & contrast

On white

11.87
#581E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#581E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E60
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E60#FFFFFF#000000##FFFFFF
##581E601.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3362
Deuteranopia (green-blind)
#27395E
Tritanopia (blue-blind)
#59293C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581e60;
/* rgb */ color: rgb(88, 30, 96);
/* oklch */ color: oklch(35.3% 0.123 322.6);
Tailwind
colors: {
  custom: {
    50: '#895f8d',
    500: '#581e60',
    950: '#000000',
  },
}
SCSS
$custom: #581e60;
$custom-light: #895f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#581e60",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 96
  },
  "hsl": {
    "h": 292.727,
    "s": 52.381,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3534,
    "c": 0.12343,
    "h": 322.6
  },
  "luminance": 0.03848
}

Semantic roles & 50–950 ramp

primary
#581E60
secondary
#4F9545
accent
#DC4C5D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #581E60

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

Preview Lab → · Contrast checker → · Palette generator →

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