#58166C#58166C

#58166C is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.146 H 316.9°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#58166C
RGBrgb(88, 22, 108)
HSLhsl(286, 66%, 25%)
HSVhsv(286, 80%, 42%)
CMYKcmyk(18.5%, 79.6%, 0%, 57.6%)
CIE-LABlab(22.76, 42.68, -35.38)
CIE-LCHlch(22.76, 55.44, 320.34°)
OKLaboklab(35.32% 0.1064 -0.0996)
OKLCHoklch(35.32% 0.146 316.9)
XYZxyz(7.0178, 3.7315, 14.5350)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58166C #2A6C16
analogous
#2D166C #58166C #6C1655
triadic
#58166C #6C5816 #166C58
tetradic
#58166C #6C2D16 #2A6C16 #16556C
square
#58166C #6C2D16 #2A6C16 #16556C
split-complementary
#58166C #556C16 #166C2D
monochromatic
#150519 #2F0C39 #58166C #81209F #AB2BD2

Accessibility & contrast

On white

12.03
#58166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58166C
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58166C#FFFFFF#000000##FFFFFF
##58166C1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#17386A
Tritanopia (blue-blind)
#572940
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #58166c;
/* rgb */ color: rgb(88, 22, 108);
/* oklch */ color: oklch(35.3% 0.146 316.9);
Tailwind
colors: {
  custom: {
    50: '#8a5b97',
    500: '#58166c',
    950: '#000000',
  },
}
SCSS
$custom: #58166c;
$custom-light: #8a5b97;
$custom-dark: #000000;
JSON
{
  "hex": "#58166c",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 286.047,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35315,
    "c": 0.14578,
    "h": 316.9
  },
  "luminance": 0.03731
}

Semantic roles & 50–950 ramp

primary
#58166C
secondary
#53A23C
accent
#E93F66
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58166C

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

Preview Lab → · Contrast checker → · Palette generator →

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