#581577#581577

#581577 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 36.1% C 0.157 H 312.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#581577
RGBrgb(88, 21, 119)
HSLhsl(281, 70%, 27%)
HSVhsv(281, 82%, 47%)
CMYKcmyk(26.1%, 82.4%, 0%, 53.3%)
CIE-LABlab(23.48, 45.43, -41.30)
CIE-LCHlch(23.48, 61.40, 317.72°)
OKLaboklab(36.09% 0.1053 -0.117)
OKLCHoklch(36.09% 0.157 312)
XYZxyz(7.6218, 3.9432, 17.8088)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581577 #347715
analogous
#271577 #581577 #771565
triadic
#581577 #775815 #157758
tetradic
#581577 #772715 #347715 #156577
square
#581577 #772715 #347715 #156577
split-complementary
#581577 #657715 #157727
monochromatic
#13051A #320C43 #581577 #7E1EAB #A32DDA

Accessibility & contrast

On white

11.74
#581577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581577
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581577#FFFFFF#000000##FFFFFF
##5815771.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#013975
Tritanopia (blue-blind)
#542D46
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581577;
/* rgb */ color: rgb(88, 21, 119);
/* oklch */ color: oklch(36.1% 0.157 312.0);
Tailwind
colors: {
  custom: {
    50: '#8b5c9f',
    500: '#581577',
    950: '#000000',
  },
}
SCSS
$custom: #581577;
$custom-light: #8b5c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#581577",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 281.02,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36089,
    "c": 0.15739,
    "h": 312
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#581577
secondary
#5FAD3B
accent
#ED3B73
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581577

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

Preview Lab → · Contrast checker → · Palette generator →

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