#581B63#581B63

#581B63 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.2% C 0.131 H 321.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#581B63
RGBrgb(88, 27, 99)
HSLhsl(291, 57%, 25%)
HSVhsv(291, 73%, 39%)
CMYKcmyk(11.1%, 72.7%, 0%, 61.2%)
CIE-LABlab(22.86, 38.72, -29.36)
CIE-LCHlch(22.86, 48.59, 322.83°)
OKLaboklab(35.18% 0.1018 -0.082)
OKLCHoklch(35.18% 0.131 321.2)
XYZxyz(6.6683, 3.7598, 12.1764)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B63 #26631B
analogous
#341B63 #581B63 #631B4A
triadic
#581B63 #63581B #1B6358
tetradic
#581B63 #63341B #26631B #1B4A63
square
#581B63 #63341B #26631B #1B4A63
split-complementary
#581B63 #4A631B #1B6334
monochromatic
#150718 #2D0E33 #581B63 #832893 #AD35C3

Accessibility & contrast

On white

11.99
#581B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#581B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B63
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B63#FFFFFF#000000##FFFFFF
##581B631.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033265
Deuteranopia (green-blind)
#233961
Tritanopia (blue-blind)
#59283D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581b63;
/* rgb */ color: rgb(88, 27, 99);
/* oklch */ color: oklch(35.2% 0.131 321.2);
Tailwind
colors: {
  custom: {
    50: '#8a5d90',
    500: '#581b63',
    950: '#000000',
  },
}
SCSS
$custom: #581b63;
$custom-light: #8a5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#581b63",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 290.833,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35184,
    "c": 0.13076,
    "h": 321.2
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#581B63
secondary
#4F9841
accent
#E0475F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #581B63

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

Preview Lab → · Contrast checker → · Palette generator →

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