#58124D#58124D

#58124D is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.123 H 335.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#58124D
RGBrgb(88, 18, 77)
HSLhsl(309, 66%, 21%)
HSVhsv(309, 80%, 35%)
CMYKcmyk(0%, 79.5%, 12.5%, 65.5%)
CIE-LABlab(20.22, 38.22, -18.85)
CIE-LCHlch(20.22, 42.62, 333.74°)
OKLaboklab(32.85% 0.1116 -0.0515)
OKLCHoklch(32.85% 0.123 335.2)
XYZxyz(5.5804, 3.0436, 7.3133)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58124D #12581D
analogous
#401258 #58124D #58122A
triadic
#58124D #4D5812 #124D58
tetradic
#58124D #584012 #12581D #122A58
square
#58124D #584012 #12581D #122A58
split-complementary
#58124D #2A5812 #125840
monochromatic
#190516 #250821 #58124D #8B1C79 #BE27A6

Accessibility & contrast

On white

13.05
#58124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#58124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58124D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58124D#FFFFFF#000000##FFFFFF
##58124D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122A4F
Deuteranopia (green-blind)
#2B344B
Tritanopia (blue-blind)
#5D182E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #58124d;
/* rgb */ color: rgb(88, 18, 77);
/* oklch */ color: oklch(32.8% 0.123 335.2);
Tailwind
colors: {
  custom: {
    50: '#8a587f',
    500: '#58124d',
    950: '#000000',
  },
}
SCSS
$custom: #58124d;
$custom-light: #8a587f;
$custom-dark: #000000;
JSON
{
  "hex": "#58124d",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 309.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32849,
    "c": 0.12295,
    "h": 335.2
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#58124D
secondary
#359144
accent
#E95A3F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #58124D

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

Preview Lab → · Contrast checker → · Palette generator →

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