#581C73#581C73

#581C73 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.5% C 0.146 H 313.0°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#581C73
RGBrgb(88, 28, 115)
HSLhsl(281, 61%, 28%)
HSVhsv(281, 76%, 45%)
CMYKcmyk(23.5%, 75.7%, 0%, 54.9%)
CIE-LABlab(24.14, 41.77, -37.68)
CIE-LCHlch(24.14, 56.25, 317.94°)
OKLaboklab(36.46% 0.0993 -0.1064)
OKLCHoklch(36.46% 0.146 313)
XYZxyz(7.5337, 4.1432, 16.6192)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C73 #37731C
analogous
#2C1C73 #581C73 #731C62
triadic
#581C73 #73581C #1C7358
tetradic
#581C73 #732C1C #37731C #1C6273
square
#581C73 #732C1C #37731C #1C6273
split-complementary
#581C73 #62731C #1C732C
monochromatic
#130619 #321042 #581C73 #7E28A4 #A13ACF

Accessibility & contrast

On white

11.48
#581C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#581C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C73
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C73#FFFFFF#000000##FFFFFF
##581C731.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#143B71
Tritanopia (blue-blind)
#552F46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581c73;
/* rgb */ color: rgb(88, 28, 115);
/* oklch */ color: oklch(36.5% 0.146 313.0);
Tailwind
colors: {
  custom: {
    50: '#8b5f9c',
    500: '#581c73',
    950: '#000000',
  },
}
SCSS
$custom: #581c73;
$custom-light: #8b5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#581c73",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 281.379,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36455,
    "c": 0.14551,
    "h": 313
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#581C73
secondary
#62A743
accent
#E44476
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581C73

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

Preview Lab → · Contrast checker → · Palette generator →

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