#58135D#58135D

#58135D is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.135 H 325.0°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#58135D
RGBrgb(88, 19, 93)
HSLhsl(296, 66%, 22%)
HSVhsv(296, 80%, 36%)
CMYKcmyk(5.4%, 79.6%, 0%, 63.5%)
CIE-LABlab(21.32, 40.75, -27.85)
CIE-LCHlch(21.32, 49.36, 325.65°)
OKLaboklab(33.96% 0.1109 -0.0776)
OKLCHoklch(33.96% 0.135 325)
XYZxyz(6.2330, 3.3312, 10.6685)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58135D #185D13
analogous
#33135D #58135D #5D133D
triadic
#58135D #5D5813 #135D58
tetradic
#58135D #5D3313 #185D13 #133D5D
square
#58135D #5D3313 #185D13 #133D5D
split-complementary
#58135D #3D5D13 #135D33
monochromatic
#180519 #28092A #58135D #881D90 #B828C3

Accessibility & contrast

On white

12.60
#58135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#58135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58135D
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58135D#FFFFFF#000000##FFFFFF
##58135D1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#23365B
Tritanopia (blue-blind)
#5A2037
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #58135d;
/* rgb */ color: rgb(88, 19, 93);
/* oklch */ color: oklch(34.0% 0.135 325.0);
Tailwind
colors: {
  custom: {
    50: '#8a598b',
    500: '#58135d',
    950: '#000000',
  },
}
SCSS
$custom: #58135d;
$custom-light: #8a598b;
$custom-dark: #000000;
JSON
{
  "hex": "#58135d",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 295.946,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33958,
    "c": 0.13535,
    "h": 325
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#58135D
secondary
#3D9537
accent
#E93F4A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #58135D

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

Preview Lab → · Contrast checker → · Palette generator →

#58135D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva