#58166D#58166D

#58166D is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.147 H 316.4°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#58166D
RGBrgb(88, 22, 109)
HSLhsl(286, 66%, 26%)
HSVhsv(286, 80%, 43%)
CMYKcmyk(19.3%, 79.8%, 0%, 57.3%)
CIE-LABlab(22.84, 42.89, -35.91)
CIE-LCHlch(22.84, 55.94, 320.06°)
OKLaboklab(35.39% 0.1063 -0.1012)
OKLCHoklch(35.39% 0.147 316.4)
XYZxyz(7.0713, 3.7529, 14.8169)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58166D #2B6D16
analogous
#2C166D #58166D #6D1656
triadic
#58166D #6D5816 #166D58
tetradic
#58166D #6D2C16 #2B6D16 #16566D
square
#58166D #6D2C16 #2B6D16 #16566D
split-complementary
#58166D #566D16 #166D2C
monochromatic
#150519 #2F0C3A #58166D #8120A0 #AA2BD3

Accessibility & contrast

On white

12.00
#58166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#58166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58166D
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58166D#FFFFFF#000000##FFFFFF
##58166D1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#16386B
Tritanopia (blue-blind)
#572941
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #58166d;
/* rgb */ color: rgb(88, 22, 109);
/* oklch */ color: oklch(35.4% 0.147 316.4);
Tailwind
colors: {
  custom: {
    50: '#8b5b97',
    500: '#58166d',
    950: '#000000',
  },
}
SCSS
$custom: #58166d;
$custom-light: #8b5b97;
$custom-dark: #000000;
JSON
{
  "hex": "#58166d",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 285.517,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35391,
    "c": 0.14674,
    "h": 316.4
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#58166D
secondary
#55A33C
accent
#E93E68
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58166D

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

Preview Lab → · Contrast checker → · Palette generator →

#58166D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva