#581971#581971

#581971 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.147 H 314.2°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#581971
RGBrgb(88, 25, 113)
HSLhsl(283, 64%, 27%)
HSVhsv(283, 78%, 44%)
CMYKcmyk(22.1%, 77.9%, 0%, 55.7%)
CIE-LABlab(23.55, 42.58, -37.35)
CIE-LCHlch(23.55, 56.64, 318.74°)
OKLaboklab(35.99% 0.1027 -0.1054)
OKLCHoklch(35.99% 0.147 314.2)
XYZxyz(7.3523, 3.9625, 15.9971)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581971 #327119
analogous
#2C1971 #581971 #71195E
triadic
#581971 #715819 #197158
tetradic
#581971 #712C19 #327119 #195E71
square
#581971 #712C19 #327119 #195E71
split-complementary
#581971 #5E7119 #19712C
monochromatic
#140619 #310E3F #581971 #7F24A3 #A533D2

Accessibility & contrast

On white

11.72
#581971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#581971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581971
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581971#FFFFFF#000000##FFFFFF
##5819711.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#133A6F
Tritanopia (blue-blind)
#562D44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581971;
/* rgb */ color: rgb(88, 25, 113);
/* oklch */ color: oklch(36.0% 0.147 314.2);
Tailwind
colors: {
  custom: {
    50: '#8b5d9a',
    500: '#581971',
    950: '#000000',
  },
}
SCSS
$custom: #581971;
$custom-light: #8b5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#581971",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 282.955,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35988,
    "c": 0.14717,
    "h": 314.2
  },
  "luminance": 0.03962
}

Semantic roles & 50–950 ramp

primary
#581971
secondary
#5DA640
accent
#E74170
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581971

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

Preview Lab → · Contrast checker → · Palette generator →

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