#58186D#58186D

#58186D is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.144 H 316.2°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#58186D
RGBrgb(88, 24, 109)
HSLhsl(285, 64%, 26%)
HSVhsv(285, 78%, 43%)
CMYKcmyk(19.3%, 78%, 0%, 57.3%)
CIE-LABlab(23.11, 42.11, -35.47)
CIE-LCHlch(23.11, 55.06, 319.89°)
OKLaboklab(35.58% 0.1043 -0.0999)
OKLCHoklch(35.58% 0.144 316.2)
XYZxyz(7.1110, 3.8324, 14.8302)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58186D #2D6D18
analogous
#2D186D #58186D #6D1857
triadic
#58186D #6D5818 #186D58
tetradic
#58186D #6D2D18 #2D6D18 #18576D
square
#58186D #6D2D18 #2D6D18 #18576D
split-complementary
#58186D #576D18 #186D2D
monochromatic
#140619 #300D3B #58186D #80239F #A92ED1

Accessibility & contrast

On white

11.89
#58186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#58186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58186D
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58186D#FFFFFF#000000##FFFFFF
##58186D1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.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: #58186d;
/* rgb */ color: rgb(88, 24, 109);
/* oklch */ color: oklch(35.6% 0.144 316.2);
Tailwind
colors: {
  custom: {
    50: '#8a5c97',
    500: '#58186d',
    950: '#000000',
  },
}
SCSS
$custom: #58186d;
$custom-light: #8a5c97;
$custom-dark: #000000;
JSON
{
  "hex": "#58186d",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 285.176,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35584,
    "c": 0.14442,
    "h": 316.2
  },
  "luminance": 0.03832
}

Semantic roles & 50–950 ramp

primary
#58186D
secondary
#57A33E
accent
#E7416A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58186D

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

Preview Lab → · Contrast checker → · Palette generator →

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