#58117E#58117E

#58117E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.168 H 309.5°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#58117E
RGBrgb(88, 17, 126)
HSLhsl(279, 76%, 28%)
HSVhsv(279, 87%, 49%)
CMYKcmyk(30.2%, 86.5%, 0%, 50.6%)
CIE-LABlab(23.61, 48.29, -45.55)
CIE-LCHlch(23.61, 66.38, 316.67°)
OKLaboklab(36.36% 0.1065 -0.1294)
OKLCHoklch(36.36% 0.168 309.5)
XYZxyz(7.9901, 3.9821, 20.0823)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58117E #377E11
analogous
#22117E #58117E #7E116D
triadic
#58117E #7E5811 #117E58
tetradic
#58117E #7E2211 #377E11 #116D7E
square
#58117E #7E2211 #377E11 #116D7E
split-complementary
#58117E #6D7E11 #117E22
monochromatic
#13041B #320A48 #58117E #7E18B4 #A127E2

Accessibility & contrast

On white

11.69
#58117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#58117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58117E
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58117E#FFFFFF#000000##FFFFFF
##58117E1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#522F4A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #58117e;
/* rgb */ color: rgb(88, 17, 126);
/* oklch */ color: oklch(36.4% 0.168 309.5);
Tailwind
colors: {
  custom: {
    50: '#8c5ba4',
    500: '#58117e',
    950: '#000000',
  },
}
SCSS
$custom: #58117e;
$custom-light: #8c5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#58117e",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 279.083,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36361,
    "c": 0.16765,
    "h": 309.5
  },
  "luminance": 0.03982
}

Semantic roles & 50–950 ramp

primary
#58117E
secondary
#62B437
accent
#F33577
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #58117E

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

Preview Lab → · Contrast checker → · Palette generator →

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