#58156A#58156A

#58156A is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.145 H 318.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#58156A
RGBrgb(88, 21, 106)
HSLhsl(287, 67%, 25%)
HSVhsv(287, 80%, 42%)
CMYKcmyk(17%, 80.2%, 0%, 58.4%)
CIE-LABlab(22.49, 42.63, -34.53)
CIE-LCHlch(22.49, 54.86, 320.99°)
OKLaboklab(35.07% 0.1077 -0.0971)
OKLCHoklch(35.07% 0.145 318)
XYZxyz(6.8938, 3.6520, 13.9746)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58156A #276A15
analogous
#2D156A #58156A #6A1552
triadic
#58156A #6A5815 #156A58
tetradic
#58156A #6A2D15 #276A15 #15526A
square
#58156A #6A2D15 #276A15 #15526A
split-complementary
#58156A #526A15 #156A2D
monochromatic
#15051A #2E0B37 #58156A #821F9D #AD29D0

Accessibility & contrast

On white

12.14
#58156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#58156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58156A
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58156A#FFFFFF#000000##FFFFFF
##58156A1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#193868
Tritanopia (blue-blind)
#57273F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #58156a;
/* rgb */ color: rgb(88, 21, 106);
/* oklch */ color: oklch(35.1% 0.145 318.0);
Tailwind
colors: {
  custom: {
    50: '#8a5b95',
    500: '#58156a',
    950: '#000000',
  },
}
SCSS
$custom: #58156a;
$custom-light: #8a5b95;
$custom-dark: #000000;
JSON
{
  "hex": "#58156a",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 287.294,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35072,
    "c": 0.14502,
    "h": 318
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#58156A
secondary
#50A13A
accent
#EA3E62
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58156A

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

Preview Lab → · Contrast checker → · Palette generator →

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