#58165B#58165B

#58165B is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.130 H 326.1°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#58165B
RGBrgb(88, 22, 91)
HSLhsl(297, 61%, 22%)
HSVhsv(297, 76%, 36%)
CMYKcmyk(3.3%, 75.8%, 0%, 64.3%)
CIE-LABlab(21.60, 39.22, -26.09)
CIE-LCHlch(21.60, 47.11, 326.37°)
OKLaboklab(34.11% 0.1078 -0.0725)
OKLCHoklch(34.11% 0.13 326.1)
XYZxyz(6.1996, 3.4043, 10.2261)
Luminance0.0340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58165B #195B16
analogous
#35165B #58165B #5B163C
triadic
#58165B #5B5816 #165B58
tetradic
#58165B #5B3516 #195B16 #163C5B
square
#58165B #5B3516 #195B16 #163C5B
split-complementary
#58165B #3C5B16 #165B35
monochromatic
#180619 #280A2A #58165B #88228C #B72EBE

Accessibility & contrast

On white

12.49
#58165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#58165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58165B
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58165B#FFFFFF#000000##FFFFFF
##58165B1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062E5D
Deuteranopia (green-blind)
#253759
Tritanopia (blue-blind)
#5A2137
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #58165b;
/* rgb */ color: rgb(88, 22, 91);
/* oklch */ color: oklch(34.1% 0.130 326.1);
Tailwind
colors: {
  custom: {
    50: '#8a5b8a',
    500: '#58165b',
    950: '#000000',
  },
}
SCSS
$custom: #58165b;
$custom-light: #8a5b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#58165b",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 297.391,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3411,
    "c": 0.12989,
    "h": 326.1
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#58165B
secondary
#3E923B
accent
#E4444B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #58165B

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

Preview Lab → · Contrast checker → · Palette generator →

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