#58165F#58165F

#58165F is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.134 H 323.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#58165F
RGBrgb(88, 22, 95)
HSLhsl(294, 62%, 23%)
HSVhsv(294, 77%, 37%)
CMYKcmyk(7.4%, 76.8%, 0%, 62.7%)
CIE-LABlab(21.85, 40.00, -28.33)
CIE-LCHlch(21.85, 49.02, 324.70°)
OKLaboklab(34.38% 0.1077 -0.079)
OKLCHoklch(34.38% 0.134 323.7)
XYZxyz(6.3768, 3.4751, 11.1591)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58165F #1D5F16
analogous
#34165F #58165F #5F1641
triadic
#58165F #5F5816 #165F58
tetradic
#58165F #5F3416 #1D5F16 #16415F
square
#58165F #5F3416 #1D5F16 #16415F
split-complementary
#58165F #415F16 #165F34
monochromatic
#170619 #2A0A2D #58165F #862291 #B42DC2

Accessibility & contrast

On white

12.39
#58165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#58165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58165F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58165F#FFFFFF#000000##FFFFFF
##58165F1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#23375D
Tritanopia (blue-blind)
#5A2339
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #58165f;
/* rgb */ color: rgb(88, 22, 95);
/* oklch */ color: oklch(34.4% 0.134 323.7);
Tailwind
colors: {
  custom: {
    50: '#8a5b8d',
    500: '#58165f',
    950: '#000000',
  },
}
SCSS
$custom: #58165f;
$custom-light: #8a5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#58165f",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 294.247,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34379,
    "c": 0.13356,
    "h": 323.7
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#58165F
secondary
#44963B
accent
#E54252
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #58165F

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

Preview Lab → · Contrast checker → · Palette generator →

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