#581877#581877

#581877 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.154 H 311.7°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#581877
RGBrgb(88, 24, 119)
HSLhsl(280, 66%, 28%)
HSVhsv(280, 80%, 47%)
CMYKcmyk(26.1%, 79.8%, 0%, 53.3%)
CIE-LABlab(23.87, 44.31, -40.68)
CIE-LCHlch(23.87, 60.15, 317.45°)
OKLaboklab(36.36% 0.1026 -0.1152)
OKLCHoklch(36.36% 0.154 311.7)
XYZxyz(7.6803, 4.0601, 17.8283)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581877 #377718
analogous
#281877 #581877 #771866
triadic
#581877 #775818 #187758
tetradic
#581877 #772818 #377718 #186677
square
#581877 #772818 #377718 #186677
split-complementary
#581877 #667718 #187728
monochromatic
#130519 #320E44 #581877 #7E22AA #A133D6

Accessibility & contrast

On white

11.59
#581877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#581877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581877
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581877#FFFFFF#000000##FFFFFF
##5818771.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#053A75
Tritanopia (blue-blind)
#542F47
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581877;
/* rgb */ color: rgb(88, 24, 119);
/* oklch */ color: oklch(36.4% 0.154 311.7);
Tailwind
colors: {
  custom: {
    50: '#8b5d9f',
    500: '#581877',
    950: '#000000',
  },
}
SCSS
$custom: #581877;
$custom-light: #8b5d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#581877",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 280.421,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36361,
    "c": 0.15424,
    "h": 311.7
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#581877
secondary
#62AC3F
accent
#E93E76
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581877

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

Preview Lab → · Contrast checker → · Palette generator →

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