#58156F#58156F

#58156F is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.150 H 315.5°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#58156F
RGBrgb(88, 21, 111)
HSLhsl(285, 68%, 26%)
HSVhsv(285, 81%, 44%)
CMYKcmyk(20.7%, 81.1%, 0%, 56.5%)
CIE-LABlab(22.86, 43.69, -37.17)
CIE-LCHlch(22.86, 57.36, 319.61°)
OKLaboklab(35.45% 0.1069 -0.1049)
OKLCHoklch(35.45% 0.15 315.5)
XYZxyz(7.1614, 3.7590, 15.3842)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58156F #2C6F15
analogous
#2B156F #58156F #6F1559
triadic
#58156F #6F5815 #156F58
tetradic
#58156F #6F2B15 #2C6F15 #15596F
square
#58156F #6F2B15 #2C6F15 #15596F
split-complementary
#58156F #596F15 #156F2B
monochromatic
#14051A #2F0B3C #58156F #811FA2 #AA28D6

Accessibility & contrast

On white

11.99
#58156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#58156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58156F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58156F#FFFFFF#000000##FFFFFF
##58156F1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#12386D
Tritanopia (blue-blind)
#562A42
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #58156f;
/* rgb */ color: rgb(88, 21, 111);
/* oklch */ color: oklch(35.5% 0.150 315.5);
Tailwind
colors: {
  custom: {
    50: '#8b5b99',
    500: '#58156f',
    950: '#000000',
  },
}
SCSS
$custom: #58156f;
$custom-light: #8b5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#58156f",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 284.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35454,
    "c": 0.14975,
    "h": 315.5
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#58156F
secondary
#56A53A
accent
#EB3D69
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #58156F

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

Preview Lab → · Contrast checker → · Palette generator →

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