#581166#581166

#581166 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.146 H 320.2°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#581166
RGBrgb(88, 17, 102)
HSLhsl(290, 71%, 23%)
HSVhsv(290, 83%, 40%)
CMYKcmyk(13.7%, 83.3%, 0%, 60%)
CIE-LABlab(21.71, 43.21, -33.17)
CIE-LCHlch(21.71, 54.47, 322.49°)
OKLaboklab(34.43% 0.1119 -0.0931)
OKLCHoklch(34.43% 0.146 320.2)
XYZxyz(6.6229, 3.4353, 12.8820)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581166 #1F6611
analogous
#2D1166 #581166 #661149
triadic
#581166 #665811 #116658
tetradic
#581166 #662D11 #1F6611 #114966
square
#581166 #662D11 #1F6611 #114966
split-complementary
#581166 #496611 #11662D
monochromatic
#17041A #2B0832 #581166 #851A9A #B322CF

Accessibility & contrast

On white

12.45
#581166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#581166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581166
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581166#FFFFFF#000000##FFFFFF
##5811661.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#1A3664
Tritanopia (blue-blind)
#58233C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581166;
/* rgb */ color: rgb(88, 17, 102);
/* oklch */ color: oklch(34.4% 0.146 320.2);
Tailwind
colors: {
  custom: {
    50: '#8a5992',
    500: '#581166',
    950: '#000000',
  },
}
SCSS
$custom: #581166;
$custom-light: #8a5992;
$custom-dark: #000000;
JSON
{
  "hex": "#581166",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 290.118,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.14558,
    "h": 320.2
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#581166
secondary
#469E35
accent
#EE3A57
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581166

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

Preview Lab → · Contrast checker → · Palette generator →

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