#581A73#581A73

#581A73 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.2% C 0.148 H 313.2°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#581A73
RGBrgb(88, 26, 115)
HSLhsl(282, 63%, 28%)
HSVhsv(282, 77%, 45%)
CMYKcmyk(23.5%, 77.4%, 0%, 54.9%)
CIE-LABlab(23.84, 42.62, -38.16)
CIE-LCHlch(23.84, 57.20, 318.16°)
OKLaboklab(36.24% 0.1014 -0.1078)
OKLCHoklch(36.24% 0.148 313.2)
XYZxyz(7.4879, 4.0515, 16.6039)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A73 #35731A
analogous
#2C1A73 #581A73 #731A61
triadic
#581A73 #73581A #1A7358
tetradic
#581A73 #732C1A #35731A #1A6173
square
#581A73 #732C1A #35731A #1A6173
split-complementary
#581A73 #61731A #1A732C
monochromatic
#130619 #320F41 #581A73 #7E25A5 #A236D2

Accessibility & contrast

On white

11.60
#581A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#581A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A73
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A73#FFFFFF#000000##FFFFFF
##581A731.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#113A71
Tritanopia (blue-blind)
#552E45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581a73;
/* rgb */ color: rgb(88, 26, 115);
/* oklch */ color: oklch(36.2% 0.148 313.2);
Tailwind
colors: {
  custom: {
    50: '#8b5e9c',
    500: '#581a73',
    950: '#000000',
  },
}
SCSS
$custom: #581a73;
$custom-light: #8b5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#581a73",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 281.798,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36244,
    "c": 0.14797,
    "h": 313.2
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#581A73
secondary
#60A841
accent
#E64274
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581A73

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

Preview Lab → · Contrast checker → · Palette generator →

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