#581E5F#581E5F

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

Color values

HEX#581E5F
RGBrgb(88, 30, 95)
HSLhsl(294, 52%, 25%)
HSVhsv(294, 68%, 37%)
CMYKcmyk(7.4%, 68.4%, 0%, 62.7%)
CIE-LABlab(23.10, 36.50, -26.35)
CIE-LCHlch(23.10, 45.01, 324.18°)
OKLaboklab(35.28% 0.0981 -0.0733)
OKLCHoklch(35.28% 0.122 323.2)
XYZxyz(6.5541, 3.8298, 11.2183)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E5F #255F1E
analogous
#371E5F #581E5F #5F1E46
triadic
#581E5F #5F581E #1E5F58
tetradic
#581E5F #5F371E #255F1E #1E465F
square
#581E5F #5F371E #255F1E #1E465F
split-complementary
#581E5F #465F1E #1E5F37
monochromatic
#160717 #2D0F30 #581E5F #832D8E #AE3BBC

Accessibility & contrast

On white

11.89
#581E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581E5F
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E5F#FFFFFF#000000##FFFFFF
##581E5F1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103361
Deuteranopia (green-blind)
#28395D
Tritanopia (blue-blind)
#5A283B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581e5f;
/* rgb */ color: rgb(88, 30, 95);
/* oklch */ color: oklch(35.3% 0.122 323.2);
Tailwind
colors: {
  custom: {
    50: '#895f8d',
    500: '#581e5f',
    950: '#000000',
  },
}
SCSS
$custom: #581e5f;
$custom-light: #895f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#581e5f",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 95
  },
  "hsl": {
    "h": 293.538,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35275,
    "c": 0.12243,
    "h": 323.2
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

primary
#581E5F
secondary
#4D9445
accent
#DB4C5C
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #581E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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