#581C74#581C74

#581C74 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.5% C 0.147 H 312.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#581C74
RGBrgb(88, 28, 116)
HSLhsl(281, 61%, 28%)
HSVhsv(281, 76%, 45%)
CMYKcmyk(24.1%, 75.9%, 0%, 54.5%)
CIE-LABlab(24.21, 41.99, -38.20)
CIE-LCHlch(24.21, 56.77, 317.71°)
OKLaboklab(36.53% 0.0991 -0.1079)
OKLCHoklch(36.53% 0.147 312.6)
XYZxyz(7.5916, 4.1664, 16.9239)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C74 #38741C
analogous
#2C1C74 #581C74 #741C64
triadic
#581C74 #74581C #1C7458
tetradic
#581C74 #742C1C #38741C #1C6474
square
#581C74 #742C1C #38741C #1C6474
split-complementary
#581C74 #64741C #1C742C
monochromatic
#130619 #331043 #581C74 #7D28A5 #A03BD0

Accessibility & contrast

On white

11.46
#581C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581C74
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C74#FFFFFF#000000##FFFFFF
##581C741.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#123B72
Tritanopia (blue-blind)
#552F46
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581c74;
/* rgb */ color: rgb(88, 28, 116);
/* oklch */ color: oklch(36.5% 0.147 312.6);
Tailwind
colors: {
  custom: {
    50: '#8b5f9d',
    500: '#581c74',
    950: '#000000',
  },
}
SCSS
$custom: #581c74;
$custom-light: #8b5f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581c74",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 280.909,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36532,
    "c": 0.14654,
    "h": 312.6
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#581C74
secondary
#64A843
accent
#E44477
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581C74

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

Preview Lab → · Contrast checker → · Palette generator →

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