#58117F#58117F

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

Color values

HEX#58117F
RGBrgb(88, 17, 127)
HSLhsl(279, 76%, 28%)
HSVhsv(279, 87%, 50%)
CMYKcmyk(30.7%, 86.6%, 0%, 50.2%)
CIE-LABlab(23.70, 48.51, -46.04)
CIE-LCHlch(23.70, 66.88, 316.50°)
OKLaboklab(36.45% 0.1062 -0.1309)
OKLCHoklch(36.45% 0.169 309.1)
XYZxyz(8.0549, 4.0081, 20.4239)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58117F #387F11
analogous
#21117F #58117F #7F116F
triadic
#58117F #7F5811 #117F58
tetradic
#58117F #7F2111 #387F11 #116F7F
square
#58117F #7F2111 #387F11 #116F7F
split-complementary
#58117F #6F7F11 #117F21
monochromatic
#13041B #330A49 #58117F #7D18B5 #A028E2

Accessibility & contrast

On white

11.66
#58117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58117F
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58117F#FFFFFF#000000##FFFFFF
##58117F1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58117f;
/* rgb */ color: rgb(88, 17, 127);
/* oklch */ color: oklch(36.4% 0.169 309.1);
Tailwind
colors: {
  custom: {
    50: '#8c5ba5',
    500: '#58117f',
    950: '#000000',
  },
}
SCSS
$custom: #58117f;
$custom-light: #8c5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#58117f",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 278.727,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36447,
    "c": 0.16859,
    "h": 309.1
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#58117F
secondary
#64B537
accent
#F33578
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #58117F

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

Preview Lab → · Contrast checker → · Palette generator →

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