#581A6D#581A6D

#581A6D is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.142 H 316.0°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#581A6D
RGBrgb(88, 26, 109)
HSLhsl(285, 61%, 26%)
HSVhsv(285, 76%, 43%)
CMYKcmyk(19.3%, 76.1%, 0%, 57.3%)
CIE-LABlab(23.40, 41.29, -35.01)
CIE-LCHlch(23.40, 54.13, 319.71°)
OKLaboklab(35.79% 0.1022 -0.0985)
OKLCHoklch(35.79% 0.142 316)
XYZxyz(7.1538, 3.9179, 14.8444)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A6D #2F6D1A
analogous
#2F1A6D #581A6D #6D1A59
triadic
#581A6D #6D581A #1A6D58
tetradic
#581A6D #6D2F1A #2F6D1A #1A596D
square
#581A6D #6D2F1A #2F6D1A #1A596D
split-complementary
#581A6D #596D1A #1A6D2F
monochromatic
#140619 #300E3C #581A6D #80269E #A733CE

Accessibility & contrast

On white

11.77
#581A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#581A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A6D
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A6D#FFFFFF#000000##FFFFFF
##581A6D1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#19396B
Tritanopia (blue-blind)
#572B42
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581a6d;
/* rgb */ color: rgb(88, 26, 109);
/* oklch */ color: oklch(35.8% 0.142 316.0);
Tailwind
colors: {
  custom: {
    50: '#8a5d97',
    500: '#581a6d',
    950: '#000000',
  },
}
SCSS
$custom: #581a6d;
$custom-light: #8a5d97;
$custom-dark: #000000;
JSON
{
  "hex": "#581a6d",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 109
  },
  "hsl": {
    "h": 284.819,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35789,
    "c": 0.14197,
    "h": 316
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#581A6D
secondary
#59A241
accent
#E5436C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #581A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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