#581F57#581F57

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

Color values

HEX#581F57
RGBrgb(88, 31, 87)
HSLhsl(301, 48%, 23%)
HSVhsv(301, 65%, 35%)
CMYKcmyk(0%, 64.8%, 1.1%, 65.5%)
CIE-LABlab(22.80, 34.39, -21.52)
CIE-LCHlch(22.80, 40.57, 327.97°)
OKLaboklab(34.91% 0.0962 -0.0593)
OKLCHoklch(34.91% 0.113 328.4)
XYZxyz(6.2347, 3.7432, 9.4091)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F57 #1F5820
analogous
#3C1F58 #581F57 #581F3A
triadic
#581F57 #57581F #1F5758
tetradic
#581F57 #583C1F #1F5820 #1F3A58
square
#581F57 #583C1F #1F5820 #1F3A58
split-complementary
#581F57 #3A581F #1F583C
monochromatic
#170816 #2B0F2A #581F57 #852F84 #B33FB0

Accessibility & contrast

On white

12.01
#581F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#581F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F57
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F57#FFFFFF#000000##FFFFFF
##581F571.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193259
Deuteranopia (green-blind)
#2D3955
Tritanopia (blue-blind)
#5B2638
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581f57;
/* rgb */ color: rgb(88, 31, 87);
/* oklch */ color: oklch(34.9% 0.113 328.4);
Tailwind
colors: {
  custom: {
    50: '#895f86',
    500: '#581f57',
    950: '#000000',
  },
}
SCSS
$custom: #581f57;
$custom-light: #895f86;
$custom-dark: #000000;
JSON
{
  "hex": "#581f57",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 301.053,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34905,
    "c": 0.11302,
    "h": 328.4
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#581F57
secondary
#468D47
accent
#D75350
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #581F57

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

Preview Lab → · Contrast checker → · Palette generator →

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