#58155A#58155A

#58155A is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.130 H 326.7°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#58155A
RGBrgb(88, 21, 90)
HSLhsl(298, 62%, 22%)
HSVhsv(298, 77%, 35%)
CMYKcmyk(2.2%, 76.7%, 0%, 64.7%)
CIE-LABlab(21.39, 39.42, -25.75)
CIE-LCHlch(21.39, 47.09, 326.85°)
OKLaboklab(33.95% 0.1089 -0.0714)
OKLCHoklch(33.95% 0.13 326.7)
XYZxyz(6.1380, 3.3496, 9.9941)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58155A #175A15
analogous
#36155A #58155A #5A153A
triadic
#58155A #5A5815 #155A58
tetradic
#58155A #5A3615 #175A15 #153A5A
square
#58155A #5A3615 #175A15 #153A5A
split-complementary
#58155A #3A5A15 #155A36
monochromatic
#180619 #270928 #58155A #89218C #B92CBD

Accessibility & contrast

On white

12.58
#58155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#58155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58155A
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58155A#FFFFFF#000000##FFFFFF
##58155A1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062E5C
Deuteranopia (green-blind)
#263658
Tritanopia (blue-blind)
#5B2036
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #58155a;
/* rgb */ color: rgb(88, 21, 90);
/* oklch */ color: oklch(33.9% 0.130 326.7);
Tailwind
colors: {
  custom: {
    50: '#8a5a89',
    500: '#58155a',
    950: '#000000',
  },
}
SCSS
$custom: #58155a;
$custom-light: #8a5a89;
$custom-dark: #000000;
JSON
{
  "hex": "#58155a",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 298.261,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33945,
    "c": 0.13026,
    "h": 326.7
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#58155A
secondary
#3C9239
accent
#E54347
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #58155A

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

Preview Lab → · Contrast checker → · Palette generator →

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