#58156C#58156C

#58156C is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.147 H 317.0°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#58156C
RGBrgb(88, 21, 108)
HSLhsl(286, 67%, 25%)
HSVhsv(286, 81%, 42%)
CMYKcmyk(18.5%, 80.6%, 0%, 57.6%)
CIE-LABlab(22.63, 43.05, -35.59)
CIE-LCHlch(22.63, 55.86, 320.42°)
OKLaboklab(35.22% 0.1074 -0.1002)
OKLCHoklch(35.22% 0.147 317)
XYZxyz(6.9990, 3.6940, 14.5288)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58156C #296C15
analogous
#2C156C #58156C #6C1554
triadic
#58156C #6C5815 #156C58
tetradic
#58156C #6C2C15 #296C15 #15546C
square
#58156C #6C2C15 #296C15 #15546C
split-complementary
#58156C #546C15 #156C2C
monochromatic
#15051A #2E0B39 #58156C #821F9F #AB29D2

Accessibility & contrast

On white

12.08
#58156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58156C
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58156C#FFFFFF#000000##FFFFFF
##58156C1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#16386A
Tritanopia (blue-blind)
#572840
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #58156c;
/* rgb */ color: rgb(88, 21, 108);
/* oklch */ color: oklch(35.2% 0.147 317.0);
Tailwind
colors: {
  custom: {
    50: '#8b5b97',
    500: '#58156c',
    950: '#000000',
  },
}
SCSS
$custom: #58156c;
$custom-light: #8b5b97;
$custom-dark: #000000;
JSON
{
  "hex": "#58156c",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 286.207,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35223,
    "c": 0.1469,
    "h": 317
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

primary
#58156C
secondary
#52A33A
accent
#EA3D65
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58156C

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

Preview Lab → · Contrast checker → · Palette generator →

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