#58186F#58186F

#58186F is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.146 H 315.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#58186F
RGBrgb(88, 24, 111)
HSLhsl(284, 64%, 26%)
HSVhsv(284, 78%, 44%)
CMYKcmyk(20.7%, 78.4%, 0%, 56.5%)
CIE-LABlab(23.26, 42.54, -36.53)
CIE-LCHlch(23.26, 56.07, 319.35°)
OKLaboklab(35.74% 0.104 -0.103)
OKLCHoklch(35.74% 0.146 315.3)
XYZxyz(7.2199, 3.8759, 15.4037)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58186F #2F6F18
analogous
#2D186F #58186F #6F185B
triadic
#58186F #6F5818 #186F58
tetradic
#58186F #6F2D18 #2F6F18 #185B6F
square
#58186F #6F2D18 #2F6F18 #185B6F
split-complementary
#58186F #5B6F18 #186F2D
monochromatic
#140519 #300D3D #58186F #8023A1 #A72FD2

Accessibility & contrast

On white

11.83
#58186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#58186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58186F
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58186F#FFFFFF#000000##FFFFFF
##58186F1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58186f;
/* rgb */ color: rgb(88, 24, 111);
/* oklch */ color: oklch(35.7% 0.146 315.3);
Tailwind
colors: {
  custom: {
    50: '#8b5c99',
    500: '#58186f',
    950: '#000000',
  },
}
SCSS
$custom: #58186f;
$custom-light: #8b5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#58186f",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 284.138,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35735,
    "c": 0.14638,
    "h": 315.3
  },
  "luminance": 0.03876
}

Semantic roles & 50–950 ramp

primary
#58186F
secondary
#59A53E
accent
#E7406D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #58186F

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

Preview Lab → · Contrast checker → · Palette generator →

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