#581C72#581C72

#581C72 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.144 H 313.5°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#581C72
RGBrgb(88, 28, 114)
HSLhsl(282, 61%, 28%)
HSVhsv(282, 75%, 45%)
CMYKcmyk(22.8%, 75.4%, 0%, 55.3%)
CIE-LABlab(24.07, 41.54, -37.16)
CIE-LCHlch(24.07, 55.73, 318.19°)
OKLaboklab(36.38% 0.0994 -0.1049)
OKLCHoklch(36.38% 0.144 313.5)
XYZxyz(7.4765, 4.1204, 16.3178)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C72 #36721C
analogous
#2D1C72 #581C72 #721C61
triadic
#581C72 #72581C #1C7258
tetradic
#581C72 #722D1C #36721C #1C6172
square
#581C72 #722D1C #36721C #1C6172
split-complementary
#581C72 #61721C #1C722D
monochromatic
#130619 #321041 #581C72 #7E28A3 #A23ACF

Accessibility & contrast

On white

11.51
#581C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#581C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C72
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C72#FFFFFF#000000##FFFFFF
##581C721.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#153B70
Tritanopia (blue-blind)
#552F45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581c72;
/* rgb */ color: rgb(88, 28, 114);
/* oklch */ color: oklch(36.4% 0.144 313.5);
Tailwind
colors: {
  custom: {
    50: '#8a5e9b',
    500: '#581c72',
    950: '#000000',
  },
}
SCSS
$custom: #581c72;
$custom-light: #8a5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#581c72",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 281.86,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36379,
    "c": 0.14449,
    "h": 313.5
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#581C72
secondary
#61A643
accent
#E44474
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581C72

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

Preview Lab → · Contrast checker → · Palette generator →

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