#581571#581571

#581571 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.152 H 314.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#581571
RGBrgb(88, 21, 113)
HSLhsl(284, 69%, 26%)
HSVhsv(284, 81%, 44%)
CMYKcmyk(22.1%, 81.4%, 0%, 55.7%)
CIE-LABlab(23.01, 44.12, -38.21)
CIE-LCHlch(23.01, 58.37, 319.10°)
OKLaboklab(35.61% 0.1065 -0.1079)
OKLCHoklch(35.61% 0.152 314.6)
XYZxyz(7.2728, 3.8036, 15.9706)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581571 #2E7115
analogous
#2A1571 #581571 #71155C
triadic
#581571 #715815 #157158
tetradic
#581571 #712A15 #2E7115 #155C71
square
#581571 #712A15 #2E7115 #155C71
split-complementary
#581571 #5C7115 #15712A
monochromatic
#14051A #300B3D #581571 #801FA5 #A829D7

Accessibility & contrast

On white

11.93
#581571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#581571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581571
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581571#FFFFFF#000000##FFFFFF
##5815711.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#0F386F
Tritanopia (blue-blind)
#562B43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581571;
/* rgb */ color: rgb(88, 21, 113);
/* oklch */ color: oklch(35.6% 0.152 314.6);
Tailwind
colors: {
  custom: {
    50: '#8b5b9a',
    500: '#581571',
    950: '#000000',
  },
}
SCSS
$custom: #581571;
$custom-light: #8b5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#581571",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 283.696,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3561,
    "c": 0.15165,
    "h": 314.6
  },
  "luminance": 0.03803
}

Semantic roles & 50–950 ramp

primary
#581571
secondary
#58A73B
accent
#EB3C6C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581571

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

Preview Lab → · Contrast checker → · Palette generator →

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