#581F58#581F58

#581F58 is a dark, moderate purple. Relative luminance 0.038; OKLCH L 35.0% C 0.114 H 327.7°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#581F58
RGBrgb(88, 31, 88)
HSLhsl(300, 48%, 23%)
HSVhsv(300, 65%, 35%)
CMYKcmyk(0%, 64.8%, 0%, 65.5%)
CIE-LABlab(22.86, 34.59, -22.09)
CIE-LCHlch(22.86, 41.04, 327.43°)
OKLaboklab(34.97% 0.0963 -0.0609)
OKLCHoklch(34.97% 0.114 327.7)
XYZxyz(6.2758, 3.7597, 9.6258)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F58 #1F581F
analogous
#3B1F58 #581F58 #581F3B
triadic
#581F58 #58581F #1F5858
tetradic
#581F58 #583B1F #1F581F #1F3B58
square
#581F58 #583B1F #1F581F #1F3B58
split-complementary
#581F58 #3B581F #1F583B
monochromatic
#170817 #2B0F2B #581F58 #852F85 #B33FB3

Accessibility & contrast

On white

11.99
#581F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581F58
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F58#FFFFFF#000000##FFFFFF
##581F581.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18325A
Deuteranopia (green-blind)
#2C3956
Tritanopia (blue-blind)
#5B2638
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581f58;
/* rgb */ color: rgb(88, 31, 88);
/* oklch */ color: oklch(35.0% 0.114 327.7);
Tailwind
colors: {
  custom: {
    50: '#895f87',
    500: '#581f58',
    950: '#000000',
  },
}
SCSS
$custom: #581f58;
$custom-light: #895f87;
$custom-dark: #000000;
JSON
{
  "hex": "#581f58",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 300,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34965,
    "c": 0.11398,
    "h": 327.7
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#581F58
secondary
#468D46
accent
#D75050
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #581F58

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

Preview Lab → · Contrast checker → · Palette generator →

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