#581371#581371

#581371 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.4% C 0.154 H 314.8°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#581371
RGBrgb(88, 19, 113)
HSLhsl(284, 71%, 26%)
HSVhsv(284, 83%, 44%)
CMYKcmyk(22.1%, 83.2%, 0%, 55.7%)
CIE-LABlab(22.77, 44.82, -38.61)
CIE-LCHlch(22.77, 59.16, 319.26°)
OKLaboklab(35.44% 0.1083 -0.1091)
OKLCHoklch(35.44% 0.154 314.8)
XYZxyz(7.2375, 3.7330, 15.9589)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581371 #2C7113
analogous
#291371 #581371 #71135B
triadic
#581371 #715813 #137158
tetradic
#581371 #712913 #2C7113 #135B71
square
#581371 #712913 #2C7113 #135B71
split-complementary
#581371 #5B7113 #137129
monochromatic
#14041A #2F0A3D #581371 #811CA5 #AA25DA

Accessibility & contrast

On white

12.02
#581371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#581371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581371
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581371#FFFFFF#000000##FFFFFF
##5813711.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#0C386F
Tritanopia (blue-blind)
#562A42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581371;
/* rgb */ color: rgb(88, 19, 113);
/* oklch */ color: oklch(35.4% 0.154 314.8);
Tailwind
colors: {
  custom: {
    50: '#8b5a9a',
    500: '#581371',
    950: '#000000',
  },
}
SCSS
$custom: #581371;
$custom-light: #8b5a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#581371",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 284.043,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35439,
    "c": 0.15369,
    "h": 314.8
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#581371
secondary
#56A838
accent
#EE3A6A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581371

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

Preview Lab → · Contrast checker → · Palette generator →

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