#581B65#581B65

#581B65 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.3% C 0.133 H 320.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#581B65
RGBrgb(88, 27, 101)
HSLhsl(289, 58%, 25%)
HSVhsv(289, 73%, 40%)
CMYKcmyk(12.9%, 73.3%, 0%, 60.4%)
CIE-LABlab(22.99, 39.14, -30.45)
CIE-LCHlch(22.99, 49.59, 322.11°)
OKLaboklab(35.32% 0.1017 -0.0852)
OKLCHoklch(35.32% 0.133 320.1)
XYZxyz(6.7651, 3.7985, 12.6862)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B65 #28651B
analogous
#331B65 #581B65 #651B4D
triadic
#581B65 #65581B #1B6558
tetradic
#581B65 #65331B #28651B #1B4D65
square
#581B65 #65331B #28651B #1B4D65
split-complementary
#581B65 #4D651B #1B6533
monochromatic
#150618 #2E0E35 #581B65 #822895 #AC35C6

Accessibility & contrast

On white

11.93
#581B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581B65
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B65#FFFFFF#000000##FFFFFF
##581B651.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581b65;
/* rgb */ color: rgb(88, 27, 101);
/* oklch */ color: oklch(35.3% 0.133 320.1);
Tailwind
colors: {
  custom: {
    50: '#8a5d91',
    500: '#581b65',
    950: '#000000',
  },
}
SCSS
$custom: #581b65;
$custom-light: #8a5d91;
$custom-dark: #000000;
JSON
{
  "hex": "#581b65",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 101
  },
  "hsl": {
    "h": 289.459,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35322,
    "c": 0.13272,
    "h": 320.1
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#581B65
secondary
#519A41
accent
#E14762
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040D
muted
#7D797D

Preview Lab

Preview with #581B65

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

Preview Lab → · Contrast checker → · Palette generator →

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