#581F6D#581F6D

#581F6D is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.4% C 0.135 H 315.5°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#581F6D
RGBrgb(88, 31, 109)
HSLhsl(284, 56%, 27%)
HSVhsv(284, 72%, 43%)
CMYKcmyk(19.3%, 71.6%, 0%, 57.3%)
CIE-LABlab(24.19, 39.05, -33.73)
CIE-LCHlch(24.19, 51.60, 319.18°)
OKLaboklab(36.35% 0.0965 -0.0949)
OKLCHoklch(36.35% 0.135 315.5)
XYZxyz(7.2744, 4.1591, 14.8846)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F6D #346D1F
analogous
#311F6D #581F6D #6D1F5B
triadic
#581F6D #6D581F #1F6D58
tetradic
#581F6D #6D311F #346D1F #1F5B6D
square
#581F6D #6D311F #346D1F #1F5B6D
split-complementary
#581F6D #5B6D1F #1F6D31
monochromatic
#130718 #32113D #581F6D #7E2D9D #A33EC8

Accessibility & contrast

On white

11.46
#581F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#581F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F6D
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F6D#FFFFFF#000000##FFFFFF
##581F6D1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#1E3B6B
Tritanopia (blue-blind)
#562E43
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581f6d;
/* rgb */ color: rgb(88, 31, 109);
/* oklch */ color: oklch(36.4% 0.135 315.5);
Tailwind
colors: {
  custom: {
    50: '#8a6097',
    500: '#581f6d',
    950: '#000000',
  },
}
SCSS
$custom: #581f6d;
$custom-light: #8a6097;
$custom-dark: #000000;
JSON
{
  "hex": "#581f6d",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 109
  },
  "hsl": {
    "h": 283.846,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36355,
    "c": 0.13531,
    "h": 315.5
  },
  "luminance": 0.04159
}

Semantic roles & 50–950 ramp

primary
#581F6D
secondary
#5FA147
accent
#DF4971
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #581F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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