#58124F#58124F

#58124F is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.125 H 333.9°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#58124F
RGBrgb(88, 18, 79)
HSLhsl(308, 66%, 21%)
HSVhsv(308, 80%, 35%)
CMYKcmyk(0%, 79.5%, 10.2%, 65.5%)
CIE-LABlab(20.33, 38.56, -20.03)
CIE-LCHlch(20.33, 43.46, 332.55°)
OKLaboklab(32.97% 0.1118 -0.0549)
OKLCHoklch(32.97% 0.125 333.9)
XYZxyz(5.6521, 3.0723, 7.6910)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58124F #12581B
analogous
#3E1258 #58124F #58122C
triadic
#58124F #4F5812 #124F58
tetradic
#58124F #583E12 #12581B #122C58
square
#58124F #583E12 #12581B #122C58
split-complementary
#58124F #2C5812 #12583E
monochromatic
#190517 #250821 #58124F #8B1C7D #BE27AA

Accessibility & contrast

On white

13.01
#58124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58124F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58124F#FFFFFF#000000##FFFFFF
##58124F1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102B51
Deuteranopia (green-blind)
#2A354D
Tritanopia (blue-blind)
#5C192F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #58124f;
/* rgb */ color: rgb(88, 18, 79);
/* oklch */ color: oklch(33.0% 0.125 333.9);
Tailwind
colors: {
  custom: {
    50: '#8a5880',
    500: '#58124f',
    950: '#000000',
  },
}
SCSS
$custom: #58124f;
$custom-light: #8a5880;
$custom-dark: #000000;
JSON
{
  "hex": "#58124f",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 307.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32968,
    "c": 0.12456,
    "h": 333.9
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#58124F
secondary
#359141
accent
#E9553F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #58124F

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

Preview Lab → · Contrast checker → · Palette generator →

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