#58176F#58176F

#58176F is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.148 H 315.4°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#58176F
RGBrgb(88, 23, 111)
HSLhsl(284, 66%, 26%)
HSVhsv(284, 79%, 44%)
CMYKcmyk(20.7%, 79.3%, 0%, 56.5%)
CIE-LABlab(23.12, 42.94, -36.75)
CIE-LCHlch(23.12, 56.52, 319.44°)
OKLaboklab(35.64% 0.105 -0.1036)
OKLCHoklch(35.64% 0.148 315.4)
XYZxyz(7.1997, 3.8355, 15.3969)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58176F #2E6F17
analogous
#2C176F #58176F #6F175A
triadic
#58176F #6F5817 #176F58
tetradic
#58176F #6F2C17 #2E6F17 #175A6F
square
#58176F #6F2C17 #2E6F17 #175A6F
split-complementary
#58176F #5A6F17 #176F2C
monochromatic
#140519 #300C3C #58176F #8022A2 #A82DD3

Accessibility & contrast

On white

11.88
#58176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#58176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58176F
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58176F#FFFFFF#000000##FFFFFF
##58176F1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#14396D
Tritanopia (blue-blind)
#562B42
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #58176f;
/* rgb */ color: rgb(88, 23, 111);
/* oklch */ color: oklch(35.6% 0.148 315.4);
Tailwind
colors: {
  custom: {
    50: '#8b5c99',
    500: '#58176f',
    950: '#000000',
  },
}
SCSS
$custom: #58176f;
$custom-light: #8b5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#58176f",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 284.318,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35638,
    "c": 0.14753,
    "h": 315.4
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#58176F
secondary
#58A53D
accent
#E93F6B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #58176F

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

Preview Lab → · Contrast checker → · Palette generator →

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