#58126F#58126F

#58126F is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.153 H 315.8°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#58126F
RGBrgb(88, 18, 111)
HSLhsl(285, 72%, 25%)
HSVhsv(285, 84%, 44%)
CMYKcmyk(20.7%, 83.8%, 0%, 56.5%)
CIE-LABlab(22.50, 44.73, -37.75)
CIE-LCHlch(22.50, 58.54, 319.84°)
OKLaboklab(35.2% 0.1095 -0.1066)
OKLCHoklch(35.2% 0.153 315.8)
XYZxyz(7.1096, 3.6553, 15.3669)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58126F #296F12
analogous
#29126F #58126F #6F1258
triadic
#58126F #6F5812 #126F58
tetradic
#58126F #6F2912 #296F12 #12586F
square
#58126F #6F2912 #296F12 #12586F
split-complementary
#58126F #586F12 #126F29
monochromatic
#15041A #2E093A #58126F #821BA4 #AB23D8

Accessibility & contrast

On white

12.13
#58126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#58126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58126F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58126F#FFFFFF#000000##FFFFFF
##58126F1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#0F386D
Tritanopia (blue-blind)
#562841
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #58126f;
/* rgb */ color: rgb(88, 18, 111);
/* oklch */ color: oklch(35.2% 0.153 315.8);
Tailwind
colors: {
  custom: {
    50: '#8b5a99',
    500: '#58126f',
    950: '#000000',
  },
}
SCSS
$custom: #58126f;
$custom-light: #8b5a99;
$custom-dark: #000000;
JSON
{
  "hex": "#58126f",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 285.161,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.352,
    "c": 0.15281,
    "h": 315.8
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#58126F
secondary
#52A637
accent
#EF3966
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #58126F

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

Preview Lab → · Contrast checker → · Palette generator →

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