#58117D#58117D

#58117D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.167 H 309.9°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#58117D
RGBrgb(88, 17, 125)
HSLhsl(279, 76%, 28%)
HSVhsv(279, 86%, 49%)
CMYKcmyk(29.6%, 86.4%, 0%, 51%)
CIE-LABlab(23.53, 48.07, -45.05)
CIE-LCHlch(23.53, 65.88, 316.86°)
OKLaboklab(36.28% 0.1068 -0.128)
OKLCHoklch(36.28% 0.167 309.9)
XYZxyz(7.9259, 3.9564, 19.7442)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58117D #367D11
analogous
#22117D #58117D #7D116C
triadic
#58117D #7D5811 #117D58
tetradic
#58117D #7D2211 #367D11 #116C7D
square
#58117D #7D2211 #367D11 #116C7D
split-complementary
#58117D #6C7D11 #117D22
monochromatic
#13041B #320A47 #58117D #7E18B3 #A227E2

Accessibility & contrast

On white

11.72
#58117D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#58117D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58117D
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58117D#FFFFFF#000000##FFFFFF
##58117D1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#522E49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #58117d;
/* rgb */ color: rgb(88, 17, 125);
/* oklch */ color: oklch(36.3% 0.167 309.9);
Tailwind
colors: {
  custom: {
    50: '#8c5aa3',
    500: '#58117d',
    950: '#000000',
  },
}
SCSS
$custom: #58117d;
$custom-light: #8c5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#58117d",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 125
  },
  "hsl": {
    "h": 279.444,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36275,
    "c": 0.16672,
    "h": 309.9
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#58117D
secondary
#61B337
accent
#F33576
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #58117D

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

Preview Lab → · Contrast checker → · Palette generator →

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