#58186A#58186A

#58186A is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.141 H 317.7°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#58186A
RGBrgb(88, 24, 106)
HSLhsl(287, 63%, 25%)
HSVhsv(287, 77%, 42%)
CMYKcmyk(17%, 77.4%, 0%, 58.4%)
CIE-LABlab(22.89, 41.47, -33.88)
CIE-LCHlch(22.89, 53.55, 320.75°)
OKLaboklab(35.36% 0.1047 -0.0952)
OKLCHoklch(35.36% 0.142 317.7)
XYZxyz(6.9523, 3.7689, 13.9941)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58186A #2A6A18
analogous
#2F186A #58186A #6A1853
triadic
#58186A #6A5818 #186A58
tetradic
#58186A #6A2F18 #2A6A18 #18536A
square
#58186A #6A2F18 #2A6A18 #18536A
split-complementary
#58186A #536A18 #186A2F
monochromatic
#150619 #2F0D38 #58186A #81239C #AB2FCE

Accessibility & contrast

On white

11.97
#58186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#58186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58186A
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58186A#FFFFFF#000000##FFFFFF
##58186A1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#1B3968
Tritanopia (blue-blind)
#572940
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #58186a;
/* rgb */ color: rgb(88, 24, 106);
/* oklch */ color: oklch(35.4% 0.141 317.7);
Tailwind
colors: {
  custom: {
    50: '#8a5c95',
    500: '#58186a',
    950: '#000000',
  },
}
SCSS
$custom: #58186a;
$custom-light: #8a5c95;
$custom-dark: #000000;
JSON
{
  "hex": "#58186a",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 286.829,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3536,
    "c": 0.1415,
    "h": 317.7
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#58186A
secondary
#53A03E
accent
#E64266
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58186A

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

Preview Lab → · Contrast checker → · Palette generator →

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