#581B61#581B61

#581B61 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.129 H 322.3°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#581B61
RGBrgb(88, 27, 97)
HSLhsl(292, 56%, 24%)
HSVhsv(292, 72%, 38%)
CMYKcmyk(9.3%, 72.2%, 0%, 62%)
CIE-LABlab(22.73, 38.30, -28.25)
CIE-LCHlch(22.73, 47.59, 323.59°)
OKLaboklab(35.05% 0.1019 -0.0788)
OKLCHoklch(35.05% 0.129 322.3)
XYZxyz(6.5739, 3.7220, 11.6791)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B61 #24611B
analogous
#351B61 #581B61 #611B47
triadic
#581B61 #61581B #1B6158
tetradic
#581B61 #61351B #24611B #1B4761
square
#581B61 #61351B #24611B #1B4761
split-complementary
#581B61 #47611B #1B6135
monochromatic
#160718 #2D0E31 #581B61 #832891 #AF36C1

Accessibility & contrast

On white

12.04
#581B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#581B61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B61
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B61#FFFFFF#000000##FFFFFF
##581B611.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063263
Deuteranopia (green-blind)
#24395F
Tritanopia (blue-blind)
#59273B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581b61;
/* rgb */ color: rgb(88, 27, 97);
/* oklch */ color: oklch(35.0% 0.129 322.3);
Tailwind
colors: {
  custom: {
    50: '#8a5d8e',
    500: '#581b61',
    950: '#000000',
  },
}
SCSS
$custom: #581b61;
$custom-light: #8a5d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#581b61",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 97
  },
  "hsl": {
    "h": 292.286,
    "s": 56.452,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35048,
    "c": 0.1288,
    "h": 322.3
  },
  "luminance": 0.03722
}

Semantic roles & 50–950 ramp

primary
#581B61
secondary
#4C9741
accent
#E0485C
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #581B61

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

Preview Lab → · Contrast checker → · Palette generator →

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