#581A72#581A72

#581A72 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.147 H 313.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#581A72
RGBrgb(88, 26, 114)
HSLhsl(282, 63%, 27%)
HSVhsv(282, 77%, 45%)
CMYKcmyk(22.8%, 77.2%, 0%, 55.3%)
CIE-LABlab(23.77, 42.39, -37.64)
CIE-LCHlch(23.77, 56.69, 318.40°)
OKLaboklab(36.17% 0.1015 -0.1063)
OKLCHoklch(36.17% 0.147 313.7)
XYZxyz(7.4306, 4.0286, 16.3025)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A72 #34721A
analogous
#2C1A72 #581A72 #721A60
triadic
#581A72 #72581A #1A7258
tetradic
#581A72 #722C1A #34721A #1A6072
square
#581A72 #722C1A #34721A #1A6072
split-complementary
#581A72 #60721A #1A722C
monochromatic
#130619 #320F40 #581A72 #7E25A4 #A335D1

Accessibility & contrast

On white

11.63
#581A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581A72
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A72#FFFFFF#000000##FFFFFF
##581A721.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#133A70
Tritanopia (blue-blind)
#552E45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581a72;
/* rgb */ color: rgb(88, 26, 114);
/* oklch */ color: oklch(36.2% 0.147 313.7);
Tailwind
colors: {
  custom: {
    50: '#8b5e9b',
    500: '#581a72',
    950: '#000000',
  },
}
SCSS
$custom: #581a72;
$custom-light: #8b5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#581a72",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 282.273,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36167,
    "c": 0.14697,
    "h": 313.7
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#581A72
secondary
#5FA741
accent
#E64272
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581A72

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

Preview Lab → · Contrast checker → · Palette generator →

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