#58176B#58176B

#58176B is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.144 H 317.3°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#58176B
RGBrgb(88, 23, 107)
HSLhsl(286, 65%, 25%)
HSVhsv(286, 79%, 42%)
CMYKcmyk(17.8%, 78.5%, 0%, 58%)
CIE-LABlab(22.82, 42.08, -34.63)
CIE-LCHlch(22.82, 54.50, 320.54°)
OKLaboklab(35.34% 0.1056 -0.0974)
OKLCHoklch(35.34% 0.144 317.3)
XYZxyz(6.9844, 3.7493, 14.2629)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58176B #2A6B17
analogous
#2E176B #58176B #6B1754
triadic
#58176B #6B5817 #176B58
tetradic
#58176B #6B2E17 #2A6B17 #17546B
square
#58176B #6B2E17 #2A6B17 #17546B
split-complementary
#58176B #546B17 #176B2E
monochromatic
#150519 #2F0C39 #58176B #81229D #AB2DD0

Accessibility & contrast

On white

12.00
#58176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#58176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58176B
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58176B#FFFFFF#000000##FFFFFF
##58176B1.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)
#00336D
Deuteranopia (green-blind)
#193869
Tritanopia (blue-blind)
#572940
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #58176b;
/* rgb */ color: rgb(88, 23, 107);
/* oklch */ color: oklch(35.3% 0.144 317.3);
Tailwind
colors: {
  custom: {
    50: '#8a5c96',
    500: '#58176b',
    950: '#000000',
  },
}
SCSS
$custom: #58176b;
$custom-light: #8a5c96;
$custom-dark: #000000;
JSON
{
  "hex": "#58176b",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 286.429,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35336,
    "c": 0.14367,
    "h": 317.3
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#58176B
secondary
#53A13D
accent
#E84066
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58176B

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

Preview Lab → · Contrast checker → · Palette generator →

#58176B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva