#58155B#58155B

#58155B is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.131 H 326.1°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#58155B
RGBrgb(88, 21, 91)
HSLhsl(297, 63%, 22%)
HSVhsv(297, 77%, 36%)
CMYKcmyk(3.3%, 76.9%, 0%, 64.3%)
CIE-LABlab(21.46, 39.62, -26.31)
CIE-LCHlch(21.46, 47.56, 326.41°)
OKLaboklab(34.01% 0.1089 -0.0731)
OKLCHoklch(34.01% 0.131 326.1)
XYZxyz(6.1809, 3.3668, 10.2198)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58155B #185B15
analogous
#35155B #58155B #5B153B
triadic
#58155B #5B5815 #155B58
tetradic
#58155B #5B3515 #185B15 #153B5B
square
#58155B #5B3515 #185B15 #153B5B
split-complementary
#58155B #3B5B15 #155B35
monochromatic
#180619 #280A29 #58155B #88208D #B82CBE

Accessibility & contrast

On white

12.55
#58155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58155B
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58155B#FFFFFF#000000##FFFFFF
##58155B1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042E5D
Deuteranopia (green-blind)
#253659
Tritanopia (blue-blind)
#5A2036
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #58155b;
/* rgb */ color: rgb(88, 21, 91);
/* oklch */ color: oklch(34.0% 0.131 326.1);
Tailwind
colors: {
  custom: {
    50: '#8a5a8a',
    500: '#58155b',
    950: '#000000',
  },
}
SCSS
$custom: #58155b;
$custom-light: #8a5a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#58155b",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 297.429,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34011,
    "c": 0.13115,
    "h": 326.1
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#58155B
secondary
#3D9239
accent
#E64249
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #58155B

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

Preview Lab → · Contrast checker → · Palette generator →

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