#58124E#58124E

#58124E is a dark, vivid purple. Relative luminance 0.031; OKLCH L 32.9% C 0.124 H 334.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#58124E
RGBrgb(88, 18, 78)
HSLhsl(309, 66%, 21%)
HSVhsv(309, 80%, 35%)
CMYKcmyk(0%, 79.5%, 11.4%, 65.5%)
CIE-LABlab(20.27, 38.39, -19.44)
CIE-LCHlch(20.27, 43.03, 333.14°)
OKLaboklab(32.91% 0.1117 -0.0532)
OKLCHoklch(32.91% 0.124 334.5)
XYZxyz(5.6160, 3.0579, 7.5007)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58124E #12581C
analogous
#3F1258 #58124E #58122B
triadic
#58124E #4E5812 #124E58
tetradic
#58124E #583F12 #12581C #122B58
square
#58124E #583F12 #12581C #122B58
split-complementary
#58124E #2B5812 #12583F
monochromatic
#190517 #250821 #58124E #8B1C7B #BE27A8

Accessibility & contrast

On white

13.03
#58124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58124E
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58124E#FFFFFF#000000##FFFFFF
##58124E1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112A50
Deuteranopia (green-blind)
#2B354C
Tritanopia (blue-blind)
#5D182E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #58124e;
/* rgb */ color: rgb(88, 18, 78);
/* oklch */ color: oklch(32.9% 0.124 334.5);
Tailwind
colors: {
  custom: {
    50: '#8a5880',
    500: '#58124e',
    950: '#000000',
  },
}
SCSS
$custom: #58124e;
$custom-light: #8a5880;
$custom-dark: #000000;
JSON
{
  "hex": "#58124e",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 308.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32908,
    "c": 0.12375,
    "h": 334.5
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#58124E
secondary
#359142
accent
#E9573F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #58124E

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

Preview Lab → · Contrast checker → · Palette generator →

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