#58166A#58166A

#58166A is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.144 H 317.9°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#58166A
RGBrgb(88, 22, 106)
HSLhsl(287, 66%, 25%)
HSVhsv(287, 79%, 42%)
CMYKcmyk(17%, 79.2%, 0%, 58.4%)
CIE-LABlab(22.62, 42.26, -34.32)
CIE-LCHlch(22.62, 54.44, 320.92°)
OKLaboklab(35.17% 0.1067 -0.0965)
OKLCHoklch(35.17% 0.144 317.9)
XYZxyz(6.9126, 3.6894, 13.9809)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58166A #286A16
analogous
#2E166A #58166A #6A1652
triadic
#58166A #6A5816 #166A58
tetradic
#58166A #6A2E16 #286A16 #16526A
square
#58166A #6A2E16 #286A16 #16526A
split-complementary
#58166A #526A16 #166A2E
monochromatic
#150519 #2E0B37 #58166A #82219D #AC2BCF

Accessibility & contrast

On white

12.08
#58166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#58166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58166A
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58166A#FFFFFF#000000##FFFFFF
##58166A1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#193868
Tritanopia (blue-blind)
#57283F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #58166a;
/* rgb */ color: rgb(88, 22, 106);
/* oklch */ color: oklch(35.2% 0.144 317.9);
Tailwind
colors: {
  custom: {
    50: '#8a5b95',
    500: '#58166a',
    950: '#000000',
  },
}
SCSS
$custom: #58166a;
$custom-light: #8a5b95;
$custom-dark: #000000;
JSON
{
  "hex": "#58166a",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 287.143,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35165,
    "c": 0.14387,
    "h": 317.9
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#58166A
secondary
#51A03B
accent
#E93F64
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58166A

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

Preview Lab → · Contrast checker → · Palette generator →

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