#581477#581477

#581477 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 36.0% C 0.158 H 312.1°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#581477
RGBrgb(88, 20, 119)
HSLhsl(281, 71%, 27%)
HSVhsv(281, 83%, 47%)
CMYKcmyk(26.1%, 83.2%, 0%, 53.3%)
CIE-LABlab(23.36, 45.78, -41.50)
CIE-LCHlch(23.36, 61.79, 317.81°)
OKLaboklab(36% 0.1061 -0.1176)
OKLCHoklch(36% 0.158 312.1)
XYZxyz(7.6038, 3.9071, 17.8028)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581477 #337714
analogous
#261477 #581477 #771465
triadic
#581477 #775814 #147758
tetradic
#581477 #772614 #337714 #146577
square
#581477 #772614 #337714 #146577
split-complementary
#581477 #657714 #147726
monochromatic
#13041A #310B43 #581477 #7F1DAB #A42ADB

Accessibility & contrast

On white

11.79
#581477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#581477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581477
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581477#FFFFFF#000000##FFFFFF
##5814771.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581477;
/* rgb */ color: rgb(88, 20, 119);
/* oklch */ color: oklch(36.0% 0.158 312.1);
Tailwind
colors: {
  custom: {
    50: '#8b5b9f',
    500: '#581477',
    950: '#000000',
  },
}
SCSS
$custom: #581477;
$custom-light: #8b5b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#581477",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 281.212,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36005,
    "c": 0.15838,
    "h": 312.1
  },
  "luminance": 0.03907
}

Semantic roles & 50–950 ramp

primary
#581477
secondary
#5EAD3A
accent
#EE3A72
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581477

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

Preview Lab → · Contrast checker → · Palette generator →

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