#581558#581558

#581558 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.128 H 328.0°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#581558
RGBrgb(88, 21, 88)
HSLhsl(300, 61%, 21%)
HSVhsv(300, 76%, 35%)
CMYKcmyk(0%, 76.1%, 0%, 65.5%)
CIE-LABlab(21.27, 39.04, -24.61)
CIE-LCHlch(21.27, 46.15, 327.77°)
OKLaboklab(33.81% 0.1089 -0.0681)
OKLCHoklch(33.81% 0.128 328)
XYZxyz(6.0540, 3.3161, 9.5518)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581558 #155815
analogous
#371558 #581558 #581537
triadic
#581558 #585815 #155858
tetradic
#581558 #583715 #155815 #153758
square
#581558 #583715 #155815 #153758
split-complementary
#581558 #375815 #155837
monochromatic
#190619 #270927 #581558 #892189 #BB2DBB

Accessibility & contrast

On white

12.63
#581558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#581558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581558
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581558#FFFFFF#000000##FFFFFF
##5815581.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092D5A
Deuteranopia (green-blind)
#273656
Tritanopia (blue-blind)
#5B1F35
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #581558;
/* rgb */ color: rgb(88, 21, 88);
/* oklch */ color: oklch(33.8% 0.128 328.0);
Tailwind
colors: {
  custom: {
    50: '#8a5a87',
    500: '#581558',
    950: '#000000',
  },
}
SCSS
$custom: #581558;
$custom-light: #8a5a87;
$custom-dark: #000000;
JSON
{
  "hex": "#581558",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 300,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33814,
    "c": 0.12847,
    "h": 328
  },
  "luminance": 0.03316
}

Semantic roles & 50–950 ramp

primary
#581558
secondary
#399039
accent
#E54343
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581558

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

Preview Lab → · Contrast checker → · Palette generator →

#581558 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva