#58186C#58186C

#58186C is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.143 H 316.7°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#58186C
RGBrgb(88, 24, 108)
HSLhsl(286, 64%, 26%)
HSVhsv(286, 78%, 42%)
CMYKcmyk(18.5%, 77.8%, 0%, 57.6%)
CIE-LABlab(23.04, 41.89, -34.94)
CIE-LCHlch(23.04, 54.55, 320.17°)
OKLaboklab(35.51% 0.1044 -0.0984)
OKLCHoklch(35.51% 0.143 316.7)
XYZxyz(7.0575, 3.8110, 14.5483)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58186C #2C6C18
analogous
#2E186C #58186C #6C1856
triadic
#58186C #6C5818 #186C58
tetradic
#58186C #6C2E18 #2C6C18 #18566C
square
#58186C #6C2E18 #2C6C18 #18566C
split-complementary
#58186C #566C18 #186C2E
monochromatic
#140619 #2F0D3A #58186C #81239E #AA2ED0

Accessibility & contrast

On white

11.92
#58186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#58186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58186C
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58186C#FFFFFF#000000##FFFFFF
##58186C1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#19396A
Tritanopia (blue-blind)
#572A41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #58186c;
/* rgb */ color: rgb(88, 24, 108);
/* oklch */ color: oklch(35.5% 0.143 316.7);
Tailwind
colors: {
  custom: {
    50: '#8a5c97',
    500: '#58186c',
    950: '#000000',
  },
}
SCSS
$custom: #58186c;
$custom-light: #8a5c97;
$custom-dark: #000000;
JSON
{
  "hex": "#58186c",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 285.714,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35509,
    "c": 0.14345,
    "h": 316.7
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#58186C
secondary
#56A23E
accent
#E74169
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58186C

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

Preview Lab → · Contrast checker → · Palette generator →

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