#58176D#58176D

#58176D is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.146 H 316.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#58176D
RGBrgb(88, 23, 109)
HSLhsl(285, 65%, 26%)
HSVhsv(285, 79%, 43%)
CMYKcmyk(19.3%, 78.9%, 0%, 57.3%)
CIE-LABlab(22.97, 42.51, -35.70)
CIE-LCHlch(22.97, 55.51, 319.98°)
OKLaboklab(35.49% 0.1053 -0.1005)
OKLCHoklch(35.49% 0.146 316.3)
XYZxyz(7.0908, 3.7919, 14.8234)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58176D #2C6D17
analogous
#2D176D #58176D #6D1757
triadic
#58176D #6D5817 #176D58
tetradic
#58176D #6D2D17 #2C6D17 #17576D
square
#58176D #6D2D17 #2C6D17 #17576D
split-complementary
#58176D #576D17 #176D2D
monochromatic
#140519 #2F0C3A #58176D #8122A0 #AA2CD2

Accessibility & contrast

On white

11.94
#58176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#58176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58176D
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58176D#FFFFFF#000000##FFFFFF
##58176D1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#17396B
Tritanopia (blue-blind)
#572A41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #58176d;
/* rgb */ color: rgb(88, 23, 109);
/* oklch */ color: oklch(35.5% 0.146 316.3);
Tailwind
colors: {
  custom: {
    50: '#8a5c97',
    500: '#58176d',
    950: '#000000',
  },
}
SCSS
$custom: #58176d;
$custom-light: #8a5c97;
$custom-dark: #000000;
JSON
{
  "hex": "#58176d",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 285.349,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35486,
    "c": 0.1456,
    "h": 316.3
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#58176D
secondary
#56A33D
accent
#E84069
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58176D

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

Preview Lab → · Contrast checker → · Palette generator →

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