#58186B#58186B

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

Color values

HEX#58186B
RGBrgb(88, 24, 107)
HSLhsl(286, 63%, 26%)
HSVhsv(286, 78%, 42%)
CMYKcmyk(17.8%, 77.6%, 0%, 58%)
CIE-LABlab(22.96, 41.68, -34.41)
CIE-LCHlch(22.96, 54.05, 320.46°)
OKLaboklab(35.43% 0.1046 -0.0968)
OKLCHoklch(35.43% 0.142 317.2)
XYZxyz(7.0046, 3.7898, 14.2696)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58186B #2B6B18
analogous
#2E186B #58186B #6B1854
triadic
#58186B #6B5818 #186B58
tetradic
#58186B #6B2E18 #2B6B18 #18546B
square
#58186B #6B2E18 #2B6B18 #18546B
split-complementary
#58186B #546B18 #186B2E
monochromatic
#150619 #2F0D39 #58186B #81239D #AA2ECF

Accessibility & contrast

On white

11.95
#58186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58186B
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58186B#FFFFFF#000000##FFFFFF
##58186B1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58186b;
/* rgb */ color: rgb(88, 24, 107);
/* oklch */ color: oklch(35.4% 0.142 317.2);
Tailwind
colors: {
  custom: {
    50: '#8a5c96',
    500: '#58186b',
    950: '#000000',
  },
}
SCSS
$custom: #58186b;
$custom-light: #8a5c96;
$custom-dark: #000000;
JSON
{
  "hex": "#58186b",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 286.265,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35434,
    "c": 0.14247,
    "h": 317.2
  },
  "luminance": 0.0379
}

Semantic roles & 50–950 ramp

primary
#58186B
secondary
#55A13E
accent
#E64167
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58186B

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

Preview Lab → · Contrast checker → · Palette generator →

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