#581C6A#581C6A

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

Color values

HEX#581C6A
RGBrgb(88, 28, 106)
HSLhsl(286, 58%, 26%)
HSVhsv(286, 74%, 42%)
CMYKcmyk(17%, 73.6%, 0%, 58.4%)
CIE-LABlab(23.49, 39.76, -32.91)
CIE-LCHlch(23.49, 51.62, 320.39°)
OKLaboklab(35.79% 0.1003 -0.0924)
OKLCHoklch(35.79% 0.136 317.3)
XYZxyz(7.0409, 3.9461, 14.0237)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C6A #2E6A1C
analogous
#311C6A #581C6A #6A1C55
triadic
#581C6A #6A581C #1C6A58
tetradic
#581C6A #6A311C #2E6A1C #1C556A
square
#581C6A #6A311C #2E6A1C #1C556A
split-complementary
#581C6A #556A1C #1C6A31
monochromatic
#140618 #300F3A #581C6A #80299A #A836CA

Accessibility & contrast

On white

11.74
#581C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#581C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C6A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C6A#FFFFFF#000000##FFFFFF
##581C6A1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#1E3A68
Tritanopia (blue-blind)
#572B41
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581c6a;
/* rgb */ color: rgb(88, 28, 106);
/* oklch */ color: oklch(35.8% 0.136 317.3);
Tailwind
colors: {
  custom: {
    50: '#8a5e95',
    500: '#581c6a',
    950: '#000000',
  },
}
SCSS
$custom: #581c6a;
$custom-light: #8a5e95;
$custom-dark: #000000;
JSON
{
  "hex": "#581c6a",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 106
  },
  "hsl": {
    "h": 286.154,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35788,
    "c": 0.13636,
    "h": 317.3
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#581C6A
secondary
#589F43
accent
#E1466A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #581C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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