#58116F#58116F

#58116F is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.154 H 315.9°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#58116F
RGBrgb(88, 17, 111)
HSLhsl(285, 73%, 25%)
HSVhsv(285, 85%, 44%)
CMYKcmyk(20.7%, 84.7%, 0%, 56.5%)
CIE-LABlab(22.39, 45.06, -37.93)
CIE-LCHlch(22.39, 58.90, 319.91°)
OKLaboklab(35.12% 0.1103 -0.1071)
OKLCHoklch(35.12% 0.154 315.9)
XYZxyz(7.0937, 3.6236, 15.3616)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58116F #286F11
analogous
#29116F #58116F #6F1157
triadic
#58116F #6F5811 #116F58
tetradic
#58116F #6F2911 #286F11 #11576F
square
#58116F #6F2911 #286F11 #11576F
split-complementary
#58116F #576F11 #116F29
monochromatic
#15041B #2E093A #58116F #8219A4 #AC21D9

Accessibility & contrast

On white

12.18
#58116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#58116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58116F
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58116F#FFFFFF#000000##FFFFFF
##58116F1.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)
#003271
Deuteranopia (green-blind)
#0E376D
Tritanopia (blue-blind)
#562841
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #58116f;
/* rgb */ color: rgb(88, 17, 111);
/* oklch */ color: oklch(35.1% 0.154 315.9);
Tailwind
colors: {
  custom: {
    50: '#8b5a99',
    500: '#58116f',
    950: '#000000',
  },
}
SCSS
$custom: #58116f;
$custom-light: #8b5a99;
$custom-dark: #000000;
JSON
{
  "hex": "#58116f",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 285.319,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35121,
    "c": 0.15376,
    "h": 315.9
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#58116F
secondary
#51A635
accent
#F03865
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #58116F

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

Preview Lab → · Contrast checker → · Palette generator →

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