#581679#581679

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

Color values

HEX#581679
RGBrgb(88, 22, 121)
HSLhsl(280, 69%, 28%)
HSVhsv(280, 82%, 47%)
CMYKcmyk(27.3%, 81.8%, 0%, 52.5%)
CIE-LABlab(23.77, 45.51, -42.12)
CIE-LCHlch(23.77, 62.01, 317.22°)
OKLaboklab(36.34% 0.104 -0.1194)
OKLCHoklch(36.34% 0.158 311)
XYZxyz(7.7619, 4.0292, 18.4543)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581679 #377916
analogous
#261679 #581679 #791668
triadic
#581679 #795816 #167958
tetradic
#581679 #792616 #377916 #166879
square
#581679 #792616 #377916 #166879
split-complementary
#581679 #687916 #167926
monochromatic
#13051A #320D45 #581679 #7E1FAD #A130D9

Accessibility & contrast

On white

11.63
#581679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581679
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581679#FFFFFF#000000##FFFFFF
##5816791.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#542F48
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581679;
/* rgb */ color: rgb(88, 22, 121);
/* oklch */ color: oklch(36.3% 0.158 311.0);
Tailwind
colors: {
  custom: {
    50: '#8b5ca0',
    500: '#581679',
    950: '#000000',
  },
}
SCSS
$custom: #581679;
$custom-light: #8b5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#581679",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 280,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3634,
    "c": 0.15831,
    "h": 311
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

primary
#581679
secondary
#62AE3D
accent
#EC3C77
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #581679

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

Preview Lab → · Contrast checker → · Palette generator →

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