#581578#581578

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

Color values

HEX#581578
RGBrgb(88, 21, 120)
HSLhsl(281, 70%, 28%)
HSVhsv(281, 83%, 47%)
CMYKcmyk(26.7%, 82.5%, 0%, 52.9%)
CIE-LABlab(23.56, 45.65, -41.81)
CIE-LCHlch(23.56, 61.90, 317.51°)
OKLaboklab(36.17% 0.105 -0.1185)
OKLCHoklch(36.17% 0.158 311.6)
XYZxyz(7.6822, 3.9673, 18.1267)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581578 #357815
analogous
#261578 #581578 #781566
triadic
#581578 #785815 #157858
tetradic
#581578 #782615 #357815 #156678
square
#581578 #782615 #357815 #156678
split-complementary
#581578 #667815 #157826
monochromatic
#13051A #320C44 #581578 #7E1EAC #A22DDA

Accessibility & contrast

On white

11.71
#581578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581578
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581578#FFFFFF#000000##FFFFFF
##5815781.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#542E47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581578;
/* rgb */ color: rgb(88, 21, 120);
/* oklch */ color: oklch(36.2% 0.158 311.6);
Tailwind
colors: {
  custom: {
    50: '#8b5ca0',
    500: '#581578',
    950: '#000000',
  },
}
SCSS
$custom: #581578;
$custom-light: #8b5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#581578",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 280.606,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36171,
    "c": 0.15835,
    "h": 311.6
  },
  "luminance": 0.03967
}

Semantic roles & 50–950 ramp

primary
#581578
secondary
#60AE3B
accent
#ED3B74
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #581578

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

Preview Lab → · Contrast checker → · Palette generator →

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