#58185A#58185A

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

Color values

HEX#58185A
RGBrgb(88, 24, 90)
HSLhsl(298, 58%, 22%)
HSVhsv(298, 73%, 35%)
CMYKcmyk(2.2%, 73.3%, 0%, 64.7%)
CIE-LABlab(21.82, 38.20, -25.06)
CIE-LCHlch(21.82, 45.69, 326.73°)
OKLaboklab(34.25% 0.1055 -0.0695)
OKLCHoklch(34.25% 0.126 326.6)
XYZxyz(6.1965, 3.4666, 10.0136)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58185A #1A5A18
analogous
#37185A #58185A #5A183B
triadic
#58185A #5A5818 #185A58
tetradic
#58185A #5A3718 #1A5A18 #183B5A
square
#58185A #5A3718 #1A5A18 #183B5A
split-complementary
#58185A #3B5A18 #185A37
monochromatic
#180618 #290B2A #58185A #87258A #B632BB

Accessibility & contrast

On white

12.40
#58185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#58185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58185A
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58185A#FFFFFF#000000##FFFFFF
##58185A1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2F5C
Deuteranopia (green-blind)
#273758
Tritanopia (blue-blind)
#5B2237
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #58185a;
/* rgb */ color: rgb(88, 24, 90);
/* oklch */ color: oklch(34.3% 0.126 326.6);
Tailwind
colors: {
  custom: {
    50: '#8a5b89',
    500: '#58185a',
    950: '#000000',
  },
}
SCSS
$custom: #58185a;
$custom-light: #8a5b89;
$custom-dark: #000000;
JSON
{
  "hex": "#58185a",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 298.182,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34253,
    "c": 0.12633,
    "h": 326.6
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#58185A
secondary
#40913D
accent
#E1474B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #58185A

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

Preview Lab → · Contrast checker → · Palette generator →

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