#58196D#58196D

#58196D is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.143 H 316.1°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#58196D
RGBrgb(88, 25, 109)
HSLhsl(285, 63%, 26%)
HSVhsv(285, 77%, 43%)
CMYKcmyk(19.3%, 77.1%, 0%, 57.3%)
CIE-LABlab(23.25, 41.70, -35.24)
CIE-LCHlch(23.25, 54.60, 319.80°)
OKLaboklab(35.69% 0.1033 -0.0992)
OKLCHoklch(35.69% 0.143 316.1)
XYZxyz(7.1320, 3.8744, 14.8372)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58196D #2E6D19
analogous
#2E196D #58196D #6D1958
triadic
#58196D #6D5819 #196D58
tetradic
#58196D #6D2E19 #2E6D19 #19586D
square
#58196D #6D2E19 #2E6D19 #19586D
split-complementary
#58196D #586D19 #196D2E
monochromatic
#140619 #300E3B #58196D #80249F #A831D0

Accessibility & contrast

On white

11.83
#58196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#58196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58196D
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58196D#FFFFFF#000000##FFFFFF
##58196D1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#18396B
Tritanopia (blue-blind)
#572B41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #58196d;
/* rgb */ color: rgb(88, 25, 109);
/* oklch */ color: oklch(35.7% 0.143 316.1);
Tailwind
colors: {
  custom: {
    50: '#8a5d97',
    500: '#58196d',
    950: '#000000',
  },
}
SCSS
$custom: #58196d;
$custom-light: #8a5d97;
$custom-dark: #000000;
JSON
{
  "hex": "#58196d",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 285,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35685,
    "c": 0.14322,
    "h": 316.1
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#58196D
secondary
#58A23F
accent
#E6426B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58196D

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

Preview Lab → · Contrast checker → · Palette generator →

#58196D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva