#58126A#58126A

#58126A is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.8% C 0.148 H 318.2°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#58126A
RGBrgb(88, 18, 106)
HSLhsl(288, 71%, 24%)
HSVhsv(288, 83%, 42%)
CMYKcmyk(17%, 83%, 0%, 58.4%)
CIE-LABlab(22.12, 43.69, -35.12)
CIE-LCHlch(22.12, 56.06, 321.21°)
OKLaboklab(34.81% 0.1104 -0.0988)
OKLCHoklch(34.81% 0.148 318.2)
XYZxyz(6.8420, 3.5482, 13.9574)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58126A #246A12
analogous
#2C126A #58126A #6A1250
triadic
#58126A #6A5812 #126A58
tetradic
#58126A #6A2C12 #246A12 #12506A
square
#58126A #6A2C12 #246A12 #12506A
split-complementary
#58126A #506A12 #126A2C
monochromatic
#16041A #2D0936 #58126A #831B9E #AF24D3

Accessibility & contrast

On white

12.28
#58126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#58126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58126A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58126A#FFFFFF#000000##FFFFFF
##58126A1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#163768
Tritanopia (blue-blind)
#57263E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #58126a;
/* rgb */ color: rgb(88, 18, 106);
/* oklch */ color: oklch(34.8% 0.148 318.2);
Tailwind
colors: {
  custom: {
    50: '#8b5a95',
    500: '#58126a',
    950: '#000000',
  },
}
SCSS
$custom: #58126a;
$custom-light: #8b5a95;
$custom-dark: #000000;
JSON
{
  "hex": "#58126a",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 287.727,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34813,
    "c": 0.1482,
    "h": 318.2
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#58126A
secondary
#4CA236
accent
#EE3A5F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58126A

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

Preview Lab → · Contrast checker → · Palette generator →

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