#581F4F#581F4F

#581F4F is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.4% C 0.106 H 334.3°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#581F4F
RGBrgb(88, 31, 79)
HSLhsl(309, 48%, 23%)
HSVhsv(309, 65%, 35%)
CMYKcmyk(0%, 64.8%, 10.2%, 65.5%)
CIE-LABlab(22.37, 32.87, -16.84)
CIE-LCHlch(22.37, 36.93, 332.87°)
OKLaboklab(34.45% 0.0951 -0.0459)
OKLCHoklch(34.45% 0.106 334.3)
XYZxyz(5.9258, 3.6196, 7.7822)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F4F #1F5828
analogous
#441F58 #581F4F #581F32
triadic
#581F4F #4F581F #1F4F58
tetradic
#581F4F #58441F #1F5828 #1F3258
square
#581F4F #58441F #1F5828 #1F3258
split-complementary
#581F4F #32581F #1F5844
monochromatic
#170814 #2B0F26 #581F4F #852F78 #B33FA0

Accessibility & contrast

On white

12.18
#581F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#581F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F4F
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F4F#FFFFFF#000000##FFFFFF
##581F4F1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3050
Deuteranopia (green-blind)
#30394D
Tritanopia (blue-blind)
#5C2333
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581f4f;
/* rgb */ color: rgb(88, 31, 79);
/* oklch */ color: oklch(34.4% 0.106 334.3);
Tailwind
colors: {
  custom: {
    50: '#895f80',
    500: '#581f4f',
    950: '#000000',
  },
}
SCSS
$custom: #581f4f;
$custom-light: #895f80;
$custom-dark: #000000;
JSON
{
  "hex": "#581f4f",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 309.474,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34449,
    "c": 0.10559,
    "h": 334.3
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

primary
#581F4F
secondary
#468D51
accent
#D76650
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #581F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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