#581E71#581E71

#581E71 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.5% C 0.141 H 313.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#581E71
RGBrgb(88, 30, 113)
HSLhsl(282, 58%, 28%)
HSVhsv(282, 73%, 44%)
CMYKcmyk(22.1%, 73.5%, 0%, 55.7%)
CIE-LABlab(24.31, 40.42, -36.12)
CIE-LCHlch(24.31, 54.21, 318.21°)
OKLaboklab(36.53% 0.0973 -0.1018)
OKLCHoklch(36.53% 0.141 313.7)
XYZxyz(7.4689, 4.1957, 16.0360)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E71 #37711E
analogous
#2F1E71 #581E71 #711E60
triadic
#581E71 #71581E #1E7158
tetradic
#581E71 #712F1E #37711E #1E6071
square
#581E71 #712F1E #37711E #1E6071
split-complementary
#581E71 #60711E #1E712F
monochromatic
#130618 #321141 #581E71 #7E2BA1 #A13ECC

Accessibility & contrast

On white

11.42
#581E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#581E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E71
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E71#FFFFFF#000000##FFFFFF
##581E711.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#183B6F
Tritanopia (blue-blind)
#562F45
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581e71;
/* rgb */ color: rgb(88, 30, 113);
/* oklch */ color: oklch(36.5% 0.141 313.7);
Tailwind
colors: {
  custom: {
    50: '#8a5f9a',
    500: '#581e71',
    950: '#000000',
  },
}
SCSS
$custom: #581e71;
$custom-light: #8a5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#581e71",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 281.928,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36529,
    "c": 0.14085,
    "h": 313.7
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

primary
#581E71
secondary
#62A546
accent
#E14775
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581E71

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

Preview Lab → · Contrast checker → · Palette generator →

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