#581B67#581B67

#581B67 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.135 H 319.0°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#581B67
RGBrgb(88, 27, 103)
HSLhsl(288, 58%, 25%)
HSVhsv(288, 74%, 40%)
CMYKcmyk(14.6%, 73.8%, 0%, 59.6%)
CIE-LABlab(23.13, 39.56, -31.54)
CIE-LCHlch(23.13, 50.60, 321.43°)
OKLaboklab(35.46% 0.1016 -0.0884)
OKLCHoklch(35.46% 0.135 319)
XYZxyz(6.8643, 3.8382, 13.2086)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B67 #2A671B
analogous
#321B67 #581B67 #671B50
triadic
#581B67 #67581B #1B6758
tetradic
#581B67 #67321B #2A671B #1B5067
square
#581B67 #67321B #2A671B #1B5067
split-complementary
#581B67 #50671B #1B6732
monochromatic
#150618 #2F0E37 #581B67 #812897 #AB34C8

Accessibility & contrast

On white

11.88
#581B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#581B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B67
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B67#FFFFFF#000000##FFFFFF
##581B671.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#203965
Tritanopia (blue-blind)
#58293F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581b67;
/* rgb */ color: rgb(88, 27, 103);
/* oklch */ color: oklch(35.5% 0.135 319.0);
Tailwind
colors: {
  custom: {
    50: '#8a5d93',
    500: '#581b67',
    950: '#000000',
  },
}
SCSS
$custom: #581b67;
$custom-light: #8a5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#581b67",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 288.158,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35462,
    "c": 0.1347,
    "h": 319
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#581B67
secondary
#539C42
accent
#E24665
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #581B67

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

Preview Lab → · Contrast checker → · Palette generator →

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