#581E57#581E57

#581E57 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.8% C 0.115 H 328.4°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#581E57
RGBrgb(88, 30, 87)
HSLhsl(301, 49%, 23%)
HSVhsv(301, 66%, 35%)
CMYKcmyk(0%, 65.9%, 1.1%, 65.5%)
CIE-LABlab(22.63, 34.88, -21.80)
CIE-LCHlch(22.63, 41.13, 328.00°)
OKLaboklab(34.78% 0.0976 -0.0601)
OKLCHoklch(34.78% 0.115 328.4)
XYZxyz(6.2090, 3.6918, 9.4005)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E57 #1E581F
analogous
#3C1E58 #581E57 #581E3A
triadic
#581E57 #57581E #1E5758
tetradic
#581E57 #583C1E #1E581F #1E3A58
square
#581E57 #583C1E #1E581F #1E3A58
split-complementary
#581E57 #3A581E #1E583C
monochromatic
#170817 #2A0E2A #581E57 #862E84 #B33DB1

Accessibility & contrast

On white

12.08
#581E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#581E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E57
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E57#FFFFFF#000000##FFFFFF
##581E571.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183159
Deuteranopia (green-blind)
#2C3955
Tritanopia (blue-blind)
#5B2537
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581e57;
/* rgb */ color: rgb(88, 30, 87);
/* oklch */ color: oklch(34.8% 0.115 328.4);
Tailwind
colors: {
  custom: {
    50: '#895e86',
    500: '#581e57',
    950: '#000000',
  },
}
SCSS
$custom: #581e57;
$custom-light: #895e86;
$custom-dark: #000000;
JSON
{
  "hex": "#581e57",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 301.034,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34776,
    "c": 0.11462,
    "h": 328.4
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#581E57
secondary
#458D46
accent
#D9514F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #581E57

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

Preview Lab → · Contrast checker → · Palette generator →

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