#58155E#58155E

#58155E is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.134 H 324.4°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#58155E
RGBrgb(88, 21, 94)
HSLhsl(295, 63%, 23%)
HSVhsv(295, 78%, 37%)
CMYKcmyk(6.4%, 77.7%, 0%, 63.1%)
CIE-LABlab(21.65, 40.20, -27.99)
CIE-LCHlch(21.65, 48.98, 325.15°)
OKLaboklab(34.21% 0.1088 -0.078)
OKLCHoklch(34.21% 0.134 324.4)
XYZxyz(6.3129, 3.4196, 10.9150)
Luminance0.0342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58155E #1B5E15
analogous
#33155E #58155E #5E1540
triadic
#58155E #5E5815 #155E58
tetradic
#58155E #5E3315 #1B5E15 #15405E
square
#58155E #5E3315 #1B5E15 #15405E
split-complementary
#58155E #405E15 #155E33
monochromatic
#170619 #290A2C #58155E #872090 #B62BC2

Accessibility & contrast

On white

12.47
#58155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#58155E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58155E
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58155E#FFFFFF#000000##FFFFFF
##58155E1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F60
Deuteranopia (green-blind)
#23375C
Tritanopia (blue-blind)
#5A2238
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #58155e;
/* rgb */ color: rgb(88, 21, 94);
/* oklch */ color: oklch(34.2% 0.134 324.4);
Tailwind
colors: {
  custom: {
    50: '#8a5a8c',
    500: '#58155e',
    950: '#000000',
  },
}
SCSS
$custom: #58155e;
$custom-light: #8a5a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#58155e",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 295.068,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34213,
    "c": 0.13387,
    "h": 324.4
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#58155E
secondary
#419539
accent
#E7414F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #58155E

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

Preview Lab → · Contrast checker → · Palette generator →

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