#58185B#58185B

#58185B is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.3% C 0.127 H 326.0°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#58185B
RGBrgb(88, 24, 91)
HSLhsl(297, 58%, 23%)
HSVhsv(297, 74%, 36%)
CMYKcmyk(3.3%, 73.6%, 0%, 64.3%)
CIE-LABlab(21.89, 38.40, -25.63)
CIE-LCHlch(21.89, 46.17, 326.28°)
OKLaboklab(34.32% 0.1055 -0.0711)
OKLCHoklch(34.32% 0.127 326)
XYZxyz(6.2393, 3.4837, 10.2393)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58185B #1B5B18
analogous
#36185B #58185B #5B183D
triadic
#58185B #5B5818 #185B58
tetradic
#58185B #5B3618 #1B5B18 #183D5B
square
#58185B #5B3618 #1B5B18 #183D5B
split-complementary
#58185B #3D5B18 #185B36
monochromatic
#170618 #290B2B #58185B #87258B #B632BC

Accessibility & contrast

On white

12.38
#58185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#58185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58185B
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58185B#FFFFFF#000000##FFFFFF
##58185B1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2F5D
Deuteranopia (green-blind)
#273759
Tritanopia (blue-blind)
#5A2237
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #58185b;
/* rgb */ color: rgb(88, 24, 91);
/* oklch */ color: oklch(34.3% 0.127 326.0);
Tailwind
colors: {
  custom: {
    50: '#8a5c8a',
    500: '#58185b',
    950: '#000000',
  },
}
SCSS
$custom: #58185b;
$custom-light: #8a5c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#58185b",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 297.313,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34318,
    "c": 0.12725,
    "h": 326
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#58185B
secondary
#41923D
accent
#E1464D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #58185B

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

Preview Lab → · Contrast checker → · Palette generator →

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