#58136C#58136C

#58136C is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.149 H 317.1°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#58136C
RGBrgb(88, 19, 108)
HSLhsl(287, 70%, 25%)
HSVhsv(287, 82%, 42%)
CMYKcmyk(18.5%, 82.4%, 0%, 57.6%)
CIE-LABlab(22.39, 43.77, -35.99)
CIE-LCHlch(22.39, 56.66, 320.57°)
OKLaboklab(35.05% 0.1092 -0.1014)
OKLCHoklch(35.05% 0.149 317.1)
XYZxyz(6.9637, 3.6235, 14.5170)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58136C #276C13
analogous
#2C136C #58136C #6C1353
triadic
#58136C #6C5813 #136C58
tetradic
#58136C #6C2C13 #276C13 #13536C
square
#58136C #6C2C13 #276C13 #13536C
split-complementary
#58136C #536C13 #136C2C
monochromatic
#15051A #2E0A38 #58136C #821CA0 #AD25D4

Accessibility & contrast

On white

12.18
#58136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#58136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58136C
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58136C#FFFFFF#000000##FFFFFF
##58136C1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#15376A
Tritanopia (blue-blind)
#572740
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #58136c;
/* rgb */ color: rgb(88, 19, 108);
/* oklch */ color: oklch(35.0% 0.149 317.1);
Tailwind
colors: {
  custom: {
    50: '#8b5a97',
    500: '#58136c',
    950: '#000000',
  },
}
SCSS
$custom: #58136c;
$custom-light: #8b5a97;
$custom-dark: #000000;
JSON
{
  "hex": "#58136c",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 286.517,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35049,
    "c": 0.14903,
    "h": 317.1
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#58136C
secondary
#50A338
accent
#ED3B63
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58136C

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

Preview Lab → · Contrast checker → · Palette generator →

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