#58175A#58175A

#58175A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.128 H 326.7°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#58175A
RGBrgb(88, 23, 90)
HSLhsl(298, 59%, 22%)
HSVhsv(298, 74%, 35%)
CMYKcmyk(2.2%, 74.4%, 0%, 64.7%)
CIE-LABlab(21.68, 38.62, -25.30)
CIE-LCHlch(21.68, 46.17, 326.77°)
OKLaboklab(34.15% 0.1067 -0.0702)
OKLCHoklch(34.15% 0.128 326.7)
XYZxyz(6.1763, 3.4261, 10.0069)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58175A #195A17
analogous
#37175A #58175A #5A173B
triadic
#58175A #5A5817 #175A58
tetradic
#58175A #5A3717 #195A17 #173B5A
square
#58175A #5A3717 #195A17 #173B5A
split-complementary
#58175A #3B5A17 #175A37
monochromatic
#180618 #280B29 #58175A #88238B #B730BB

Accessibility & contrast

On white

12.46
#58175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58175A
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58175A#FFFFFF#000000##FFFFFF
##58175A1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58175a;
/* rgb */ color: rgb(88, 23, 90);
/* oklch */ color: oklch(34.1% 0.128 326.7);
Tailwind
colors: {
  custom: {
    50: '#8a5b89',
    500: '#58175a',
    950: '#000000',
  },
}
SCSS
$custom: #58175a;
$custom-light: #8a5b89;
$custom-dark: #000000;
JSON
{
  "hex": "#58175a",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 298.209,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34147,
    "c": 0.12768,
    "h": 326.7
  },
  "luminance": 0.03426
}

Semantic roles & 50–950 ramp

primary
#58175A
secondary
#3E913C
accent
#E2454A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #58175A

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

Preview Lab → · Contrast checker → · Palette generator →

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