#581D6F#581D6F

#581D6F is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.3% C 0.140 H 314.8°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#581D6F
RGBrgb(88, 29, 111)
HSLhsl(283, 59%, 27%)
HSVhsv(283, 74%, 44%)
CMYKcmyk(20.7%, 73.9%, 0%, 56.5%)
CIE-LABlab(24.00, 40.42, -35.32)
CIE-LCHlch(24.00, 53.68, 318.85°)
OKLaboklab(36.27% 0.0987 -0.0995)
OKLCHoklch(36.27% 0.14 314.8)
XYZxyz(7.3326, 4.1014, 15.4412)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D6F #346F1D
analogous
#2F1D6F #581D6F #6F1D5D
triadic
#581D6F #6F581D #1D6F58
tetradic
#581D6F #6F2F1D #346F1D #1D5D6F
square
#581D6F #6F2F1D #346F1D #1D5D6F
split-complementary
#581D6F #5D6F1D #1D6F2F
monochromatic
#130618 #32103E #581D6F #7E2AA0 #A33BCC

Accessibility & contrast

On white

11.54
#581D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#581D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D6F
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D6F#FFFFFF#000000##FFFFFF
##581D6F1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#1A3B6D
Tritanopia (blue-blind)
#562E44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581d6f;
/* rgb */ color: rgb(88, 29, 111);
/* oklch */ color: oklch(36.3% 0.140 314.8);
Tailwind
colors: {
  custom: {
    50: '#8a5f99',
    500: '#581d6f',
    950: '#000000',
  },
}
SCSS
$custom: #581d6f;
$custom-light: #8a5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#581d6f",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 111
  },
  "hsl": {
    "h": 283.171,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36266,
    "c": 0.14012,
    "h": 314.8
  },
  "luminance": 0.04101
}

Semantic roles & 50–950 ramp

primary
#581D6F
secondary
#5FA344
accent
#E24672
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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