#58115E#58115E

#58115E is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.138 H 324.6°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#58115E
RGBrgb(88, 17, 94)
HSLhsl(295, 69%, 22%)
HSVhsv(295, 82%, 37%)
CMYKcmyk(6.4%, 81.9%, 0%, 63.1%)
CIE-LABlab(21.15, 41.64, -28.80)
CIE-LCHlch(21.15, 50.63, 325.34°)
OKLaboklab(33.85% 0.1128 -0.0803)
OKLCHoklch(33.85% 0.138 324.6)
XYZxyz(6.2452, 3.2842, 10.8925)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58115E #175E11
analogous
#32115E #58115E #5E113E
triadic
#58115E #5E5811 #115E58
tetradic
#58115E #5E3211 #175E11 #113E5E
square
#58115E #5E3211 #175E11 #113E5E
split-complementary
#58115E #3E5E11 #115E32
monochromatic
#18051A #27082A #58115E #891A92 #B924C6

Accessibility & contrast

On white

12.68
#58115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#58115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58115E
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58115E#FFFFFF#000000##FFFFFF
##58115E1.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)
#002D60
Deuteranopia (green-blind)
#21365C
Tritanopia (blue-blind)
#5A2037
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #58115e;
/* rgb */ color: rgb(88, 17, 94);
/* oklch */ color: oklch(33.9% 0.138 324.6);
Tailwind
colors: {
  custom: {
    50: '#8a598c',
    500: '#58115e',
    950: '#000000',
  },
}
SCSS
$custom: #58115e;
$custom-light: #8a598c;
$custom-dark: #000000;
JSON
{
  "hex": "#58115e",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 295.325,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33854,
    "c": 0.13845,
    "h": 324.6
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#58115E
secondary
#3C9734
accent
#EC3C49
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #58115E

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

Preview Lab → · Contrast checker → · Palette generator →

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