#581777#581777

#581777 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.3% C 0.155 H 311.8°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#581777
RGBrgb(88, 23, 119)
HSLhsl(281, 68%, 28%)
HSVhsv(281, 81%, 47%)
CMYKcmyk(26.1%, 80.7%, 0%, 53.3%)
CIE-LABlab(23.74, 44.70, -40.89)
CIE-LCHlch(23.74, 60.58, 317.55°)
OKLaboklab(36.27% 0.1035 -0.1158)
OKLCHoklch(36.27% 0.155 311.8)
XYZxyz(7.6600, 4.0196, 17.8215)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581777 #367717
analogous
#281777 #581777 #771766
triadic
#581777 #775817 #177758
tetradic
#581777 #772817 #367717 #176677
square
#581777 #772817 #367717 #176677
split-complementary
#581777 #667717 #177728
monochromatic
#13051A #320D44 #581777 #7E21AA #A231D7

Accessibility & contrast

On white

11.64
#581777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#581777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581777
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581777#FFFFFF#000000##FFFFFF
##5817771.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#043A75
Tritanopia (blue-blind)
#542E47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581777;
/* rgb */ color: rgb(88, 23, 119);
/* oklch */ color: oklch(36.3% 0.155 311.8);
Tailwind
colors: {
  custom: {
    50: '#8b5c9f',
    500: '#581777',
    950: '#000000',
  },
}
SCSS
$custom: #581777;
$custom-light: #8b5c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#581777",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 280.625,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36267,
    "c": 0.15533,
    "h": 311.8
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#581777
secondary
#61AC3E
accent
#EA3D75
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581777

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

Preview Lab → · Contrast checker → · Palette generator →

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