#581771#581771

#581771 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.149 H 314.4°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#581771
RGBrgb(88, 23, 113)
HSLhsl(283, 66%, 27%)
HSVhsv(283, 80%, 44%)
CMYKcmyk(22.1%, 79.6%, 0%, 55.7%)
CIE-LABlab(23.27, 43.37, -37.80)
CIE-LCHlch(23.27, 57.53, 318.93°)
OKLaboklab(35.79% 0.1047 -0.1067)
OKLCHoklch(35.79% 0.149 314.4)
XYZxyz(7.3110, 3.8800, 15.9834)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581771 #307117
analogous
#2B1771 #581771 #71175D
triadic
#581771 #715817 #177158
tetradic
#581771 #712B17 #307117 #175D71
square
#581771 #712B17 #307117 #175D71
split-complementary
#581771 #5D7117 #17712B
monochromatic
#140519 #300D3E #581771 #8021A4 #A62ED4

Accessibility & contrast

On white

11.82
#581771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#581771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581771
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581771#FFFFFF#000000##FFFFFF
##5817711.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#11396F
Tritanopia (blue-blind)
#562C43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581771;
/* rgb */ color: rgb(88, 23, 113);
/* oklch */ color: oklch(35.8% 0.149 314.4);
Tailwind
colors: {
  custom: {
    50: '#8b5c9a',
    500: '#581771',
    950: '#000000',
  },
}
SCSS
$custom: #581771;
$custom-light: #8b5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#581771",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 283.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35793,
    "c": 0.14947,
    "h": 314.4
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#581771
secondary
#5AA73D
accent
#E93F6E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581771

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

Preview Lab → · Contrast checker → · Palette generator →

#581771 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva