#58135A#58135A

#58135A is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.133 H 326.8°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#58135A
RGBrgb(88, 19, 90)
HSLhsl(298, 65%, 21%)
HSVhsv(298, 79%, 35%)
CMYKcmyk(2.2%, 78.9%, 0%, 64.7%)
CIE-LABlab(21.13, 40.18, -26.17)
CIE-LCHlch(21.13, 47.95, 326.92°)
OKLaboklab(33.76% 0.111 -0.0727)
OKLCHoklch(33.76% 0.133 326.8)
XYZxyz(6.1027, 3.2791, 9.9824)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58135A #155A13
analogous
#35135A #58135A #5A1339
triadic
#58135A #5A5813 #135A58
tetradic
#58135A #5A3513 #155A13 #13395A
square
#58135A #5A3513 #155A13 #13395A
split-complementary
#58135A #395A13 #135A35
monochromatic
#190519 #270827 #58135A #891E8D #BB28BF

Accessibility & contrast

On white

12.68
#58135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#58135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58135A
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58135A#FFFFFF#000000##FFFFFF
##58135A1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032D5C
Deuteranopia (green-blind)
#253658
Tritanopia (blue-blind)
#5B1F35
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #58135a;
/* rgb */ color: rgb(88, 19, 90);
/* oklch */ color: oklch(33.8% 0.133 326.8);
Tailwind
colors: {
  custom: {
    50: '#8a5989',
    500: '#58135a',
    950: '#000000',
  },
}
SCSS
$custom: #58135a;
$custom-light: #8a5989;
$custom-dark: #000000;
JSON
{
  "hex": "#58135a",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 298.31,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33756,
    "c": 0.13269,
    "h": 326.8
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#58135A
secondary
#399237
accent
#E84044
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #58135A

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

Preview Lab → · Contrast checker → · Palette generator →

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