#581677#581677

#581677 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.156 H 311.9°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#581677
RGBrgb(88, 22, 119)
HSLhsl(281, 69%, 28%)
HSVhsv(281, 82%, 47%)
CMYKcmyk(26.1%, 81.5%, 0%, 53.3%)
CIE-LABlab(23.61, 45.07, -41.10)
CIE-LCHlch(23.61, 61.00, 317.64°)
OKLaboklab(36.18% 0.1044 -0.1164)
OKLCHoklch(36.18% 0.156 311.9)
XYZxyz(7.6406, 3.9806, 17.8150)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581677 #357716
analogous
#281677 #581677 #771665
triadic
#581677 #775816 #167758
tetradic
#581677 #772816 #357716 #166577
square
#581677 #772816 #357716 #166577
split-complementary
#581677 #657716 #167728
monochromatic
#13051A #320C43 #581677 #7E20AB #A22FD9

Accessibility & contrast

On white

11.69
#581677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581677
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581677#FFFFFF#000000##FFFFFF
##5816771.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581677;
/* rgb */ color: rgb(88, 22, 119);
/* oklch */ color: oklch(36.2% 0.156 311.9);
Tailwind
colors: {
  custom: {
    50: '#8b5c9f',
    500: '#581677',
    950: '#000000',
  },
}
SCSS
$custom: #581677;
$custom-light: #8b5c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#581677",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 280.825,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36177,
    "c": 0.15637,
    "h": 311.9
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#581677
secondary
#60AC3C
accent
#EC3C74
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581677

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

Preview Lab → · Contrast checker → · Palette generator →

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