#58176E#58176E

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

Color values

HEX#58176E
RGBrgb(88, 23, 110)
HSLhsl(285, 65%, 26%)
HSVhsv(285, 79%, 43%)
CMYKcmyk(20%, 79.1%, 0%, 56.9%)
CIE-LABlab(23.05, 42.72, -36.22)
CIE-LCHlch(23.05, 56.01, 319.71°)
OKLaboklab(35.56% 0.1052 -0.1021)
OKLCHoklch(35.56% 0.147 315.8)
XYZxyz(7.1449, 3.8136, 15.1086)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58176E #2D6E17
analogous
#2C176E #58176E #6E1758
triadic
#58176E #6E5817 #176E58
tetradic
#58176E #6E2C17 #2D6E17 #17586E
square
#58176E #6E2C17 #2D6E17 #17586E
split-complementary
#58176E #586E17 #176E2C
monochromatic
#140519 #300C3B #58176E #8022A1 #A92CD3

Accessibility & contrast

On white

11.91
#58176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58176E
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58176E#FFFFFF#000000##FFFFFF
##58176E1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#15396C
Tritanopia (blue-blind)
#562A42
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #58176e;
/* rgb */ color: rgb(88, 23, 110);
/* oklch */ color: oklch(35.6% 0.147 315.8);
Tailwind
colors: {
  custom: {
    50: '#8b5c98',
    500: '#58176e',
    950: '#000000',
  },
}
SCSS
$custom: #58176e;
$custom-light: #8b5c98;
$custom-dark: #000000;
JSON
{
  "hex": "#58176e",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 284.828,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35562,
    "c": 0.14656,
    "h": 315.8
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#58176E
secondary
#57A43D
accent
#E83F6A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #58176E

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

Preview Lab → · Contrast checker → · Palette generator →

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