#581C71#581C71

#581C71 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.3% C 0.143 H 313.9°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#581C71
RGBrgb(88, 28, 113)
HSLhsl(282, 60%, 28%)
HSVhsv(282, 75%, 44%)
CMYKcmyk(22.1%, 75.2%, 0%, 55.7%)
CIE-LABlab(23.99, 41.31, -36.63)
CIE-LCHlch(23.99, 55.22, 318.44°)
OKLaboklab(36.3% 0.0995 -0.1033)
OKLCHoklch(36.3% 0.143 313.9)
XYZxyz(7.4199, 4.0977, 16.0197)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C71 #35711C
analogous
#2D1C71 #581C71 #711C5F
triadic
#581C71 #71581C #1C7158
tetradic
#581C71 #712D1C #35711C #1C5F71
square
#581C71 #712D1C #35711C #1C5F71
split-complementary
#581C71 #5F711C #1C712D
monochromatic
#130619 #321040 #581C71 #7E28A2 #A239CE

Accessibility & contrast

On white

11.54
#581C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581C71
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C71#FFFFFF#000000##FFFFFF
##581C711.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#163A6F
Tritanopia (blue-blind)
#562E45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581c71;
/* rgb */ color: rgb(88, 28, 113);
/* oklch */ color: oklch(36.3% 0.143 313.9);
Tailwind
colors: {
  custom: {
    50: '#8a5e9a',
    500: '#581c71',
    950: '#000000',
  },
}
SCSS
$custom: #581c71;
$custom-light: #8a5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#581c71",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 282.353,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36304,
    "c": 0.14346,
    "h": 313.9
  },
  "luminance": 0.04097
}

Semantic roles & 50–950 ramp

primary
#581C71
secondary
#60A643
accent
#E34473
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581C71

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

Preview Lab → · Contrast checker → · Palette generator →

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