#58115F#58115F

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

Color values

HEX#58115F
RGBrgb(88, 17, 95)
HSLhsl(295, 70%, 22%)
HSVhsv(295, 82%, 37%)
CMYKcmyk(7.4%, 82.1%, 0%, 62.7%)
CIE-LABlab(21.22, 41.83, -29.35)
CIE-LCHlch(21.22, 51.10, 324.95°)
OKLaboklab(33.92% 0.1127 -0.0819)
OKLCHoklch(33.92% 0.139 324)
XYZxyz(6.2903, 3.3022, 11.1303)
Luminance0.0330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58115F #185F11
analogous
#31115F #58115F #5F113F
triadic
#58115F #5F5811 #115F58
tetradic
#58115F #5F3111 #185F11 #113F5F
square
#58115F #5F3111 #185F11 #113F5F
split-complementary
#58115F #3F5F11 #115F31
monochromatic
#18051A #28082B #58115F #881A93 #B824C7

Accessibility & contrast

On white

12.65
#58115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58115F
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58115F#FFFFFF#000000##FFFFFF
##58115F1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#20365D
Tritanopia (blue-blind)
#5A2038
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #58115f;
/* rgb */ color: rgb(88, 17, 95);
/* oklch */ color: oklch(33.9% 0.139 324.0);
Tailwind
colors: {
  custom: {
    50: '#8a598d',
    500: '#58115f',
    950: '#000000',
  },
}
SCSS
$custom: #58115f;
$custom-light: #8a598d;
$custom-dark: #000000;
JSON
{
  "hex": "#58115f",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 294.615,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33924,
    "c": 0.13934,
    "h": 324
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#58115F
secondary
#3D9834
accent
#EC3B4B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #58115F

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

Preview Lab → · Contrast checker → · Palette generator →

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