#581B66#581B66

#581B66 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.134 H 319.5°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#581B66
RGBrgb(88, 27, 102)
HSLhsl(289, 58%, 25%)
HSVhsv(289, 74%, 40%)
CMYKcmyk(13.7%, 73.5%, 0%, 60%)
CIE-LABlab(23.06, 39.35, -31.00)
CIE-LCHlch(23.06, 50.09, 321.77°)
OKLaboklab(35.39% 0.1017 -0.0868)
OKLCHoklch(35.39% 0.134 319.5)
XYZxyz(6.8144, 3.8182, 12.9458)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B66 #29661B
analogous
#321B66 #581B66 #661B4E
triadic
#581B66 #66581B #1B6658
tetradic
#581B66 #66321B #29661B #1B4E66
square
#581B66 #66321B #29661B #1B4E66
split-complementary
#581B66 #4E661B #1B6632
monochromatic
#150618 #2E0E36 #581B66 #822896 #AB35C7

Accessibility & contrast

On white

11.91
#581B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#581B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B66
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B66#FFFFFF#000000##FFFFFF
##581B661.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003368
Deuteranopia (green-blind)
#213964
Tritanopia (blue-blind)
#58293E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581b66;
/* rgb */ color: rgb(88, 27, 102);
/* oklch */ color: oklch(35.4% 0.134 319.5);
Tailwind
colors: {
  custom: {
    50: '#8a5d92',
    500: '#581b66',
    950: '#000000',
  },
}
SCSS
$custom: #581b66;
$custom-light: #8a5d92;
$custom-dark: #000000;
JSON
{
  "hex": "#581b66",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 102
  },
  "hsl": {
    "h": 288.8,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35392,
    "c": 0.13372,
    "h": 319.5
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#581B66
secondary
#529B41
accent
#E14663
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #581B66

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

Preview Lab → · Contrast checker → · Palette generator →

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