#58156D#58156D

#58156D is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.148 H 316.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#58156D
RGBrgb(88, 21, 109)
HSLhsl(286, 68%, 25%)
HSVhsv(286, 81%, 43%)
CMYKcmyk(19.3%, 80.7%, 0%, 57.3%)
CIE-LABlab(22.71, 43.26, -36.12)
CIE-LCHlch(22.71, 56.36, 320.14°)
OKLaboklab(35.3% 0.1072 -0.1018)
OKLCHoklch(35.3% 0.148 316.5)
XYZxyz(7.0526, 3.7155, 14.8107)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58156D #2A6D15
analogous
#2C156D #58156D #6D1556
triadic
#58156D #6D5815 #156D58
tetradic
#58156D #6D2C15 #2A6D15 #15566D
square
#58156D #6D2C15 #2A6D15 #15566D
split-complementary
#58156D #566D15 #156D2C
monochromatic
#15051A #2F0B3A #58156D #811FA0 #AB29D4

Accessibility & contrast

On white

12.05
#58156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#58156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58156D
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58156D#FFFFFF#000000##FFFFFF
##58156D1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#15386B
Tritanopia (blue-blind)
#572941
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #58156d;
/* rgb */ color: rgb(88, 21, 109);
/* oklch */ color: oklch(35.3% 0.148 316.5);
Tailwind
colors: {
  custom: {
    50: '#8b5b97',
    500: '#58156d',
    950: '#000000',
  },
}
SCSS
$custom: #58156d;
$custom-light: #8b5b97;
$custom-dark: #000000;
JSON
{
  "hex": "#58156d",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 285.682,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35299,
    "c": 0.14784,
    "h": 316.5
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#58156D
secondary
#53A33A
accent
#EB3D67
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58156D

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

Preview Lab → · Contrast checker → · Palette generator →

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