#58175B#58175B

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

Color values

HEX#58175B
RGBrgb(88, 23, 91)
HSLhsl(297, 60%, 22%)
HSVhsv(297, 75%, 36%)
CMYKcmyk(3.3%, 74.7%, 0%, 64.3%)
CIE-LABlab(21.74, 38.82, -25.86)
CIE-LCHlch(21.74, 46.64, 326.32°)
OKLaboklab(34.21% 0.1067 -0.0718)
OKLCHoklch(34.21% 0.129 326.1)
XYZxyz(6.2191, 3.4432, 10.2325)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58175B #1A5B17
analogous
#36175B #58175B #5B173C
triadic
#58175B #5B5817 #175B58
tetradic
#58175B #5B3617 #1A5B17 #173C5B
square
#58175B #5B3617 #1A5B17 #173C5B
split-complementary
#58175B #3C5B17 #175B36
monochromatic
#180618 #290B2A #58175B #87238C #B630BD

Accessibility & contrast

On white

12.44
#58175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#58175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58175B
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58175B#FFFFFF#000000##FFFFFF
##58175B1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082F5D
Deuteranopia (green-blind)
#263759
Tritanopia (blue-blind)
#5A2237
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #58175b;
/* rgb */ color: rgb(88, 23, 91);
/* oklch */ color: oklch(34.2% 0.129 326.1);
Tailwind
colors: {
  custom: {
    50: '#8a5b8a',
    500: '#58175b',
    950: '#000000',
  },
}
SCSS
$custom: #58175b;
$custom-light: #8a5b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#58175b",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 297.353,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34212,
    "c": 0.12859,
    "h": 326.1
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#58175B
secondary
#40923C
accent
#E3454C
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #58175B

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

Preview Lab → · Contrast checker → · Palette generator →

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