#58156B#58156B

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

Color values

HEX#58156B
RGBrgb(88, 21, 107)
HSLhsl(287, 67%, 25%)
HSVhsv(287, 80%, 42%)
CMYKcmyk(17.8%, 80.4%, 0%, 58%)
CIE-LABlab(22.56, 42.84, -35.06)
CIE-LCHlch(22.56, 55.36, 320.70°)
OKLaboklab(35.15% 0.1076 -0.0987)
OKLCHoklch(35.15% 0.146 317.5)
XYZxyz(6.9461, 3.6729, 14.2501)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58156B #286B15
analogous
#2D156B #58156B #6B1553
triadic
#58156B #6B5815 #156B58
tetradic
#58156B #6B2D15 #286B15 #15536B
square
#58156B #6B2D15 #286B15 #15536B
split-complementary
#58156B #536B15 #156B2D
monochromatic
#15051A #2E0B38 #58156B #821F9E #AC29D1

Accessibility & contrast

On white

12.11
#58156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58156B
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58156B#FFFFFF#000000##FFFFFF
##58156B1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#173869
Tritanopia (blue-blind)
#57283F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #58156b;
/* rgb */ color: rgb(88, 21, 107);
/* oklch */ color: oklch(35.1% 0.146 317.5);
Tailwind
colors: {
  custom: {
    50: '#8a5b96',
    500: '#58156b',
    950: '#000000',
  },
}
SCSS
$custom: #58156b;
$custom-light: #8a5b96;
$custom-dark: #000000;
JSON
{
  "hex": "#58156b",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 286.744,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35148,
    "c": 0.14596,
    "h": 317.5
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#58156B
secondary
#51A23A
accent
#EA3E64
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58156B

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

Preview Lab → · Contrast checker → · Palette generator →

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