#581876#581876

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

Color values

HEX#581876
RGBrgb(88, 24, 118)
HSLhsl(281, 66%, 28%)
HSVhsv(281, 80%, 46%)
CMYKcmyk(25.4%, 79.7%, 0%, 53.7%)
CIE-LABlab(23.79, 44.09, -40.16)
CIE-LCHlch(23.79, 59.64, 317.67°)
OKLaboklab(36.28% 0.1028 -0.1137)
OKLCHoklch(36.28% 0.153 312.1)
XYZxyz(7.6205, 4.0362, 17.5137)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581876 #367618
analogous
#291876 #581876 #761865
triadic
#581876 #765818 #187658
tetradic
#581876 #762918 #367618 #186576
square
#581876 #762918 #367618 #186576
split-complementary
#581876 #657618 #187629
monochromatic
#130519 #320E43 #581876 #7E22A9 #A233D5

Accessibility & contrast

On white

11.62
#581876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581876
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581876#FFFFFF#000000##FFFFFF
##5818761.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#083A74
Tritanopia (blue-blind)
#542E46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581876;
/* rgb */ color: rgb(88, 24, 118);
/* oklch */ color: oklch(36.3% 0.153 312.1);
Tailwind
colors: {
  custom: {
    50: '#8b5d9e',
    500: '#581876',
    950: '#000000',
  },
}
SCSS
$custom: #581876;
$custom-light: #8b5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#581876",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 280.851,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36281,
    "c": 0.15325,
    "h": 312.1
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#581876
secondary
#61AB3F
accent
#E93F75
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581876

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

Preview Lab → · Contrast checker → · Palette generator →

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