#58167F#58167F

#58167F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.164 H 308.6°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#58167F
RGBrgb(88, 22, 127)
HSLhsl(278, 70%, 29%)
HSVhsv(278, 83%, 50%)
CMYKcmyk(30.7%, 82.7%, 0%, 50.2%)
CIE-LABlab(24.26, 46.87, -45.13)
CIE-LCHlch(24.26, 65.06, 316.08°)
OKLaboklab(36.84% 0.1025 -0.1282)
OKLCHoklch(36.84% 0.164 308.6)
XYZxyz(8.1414, 4.1810, 20.4527)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58167F #3D7F16
analogous
#23167F #58167F #7F1672
triadic
#58167F #7F5816 #167F58
tetradic
#58167F #7F2316 #3D7F16 #16727F
square
#58167F #7F2316 #3D7F16 #16727F
split-complementary
#58167F #727F16 #167F23
monochromatic
#12051A #340D4B #58167F #7C1FB3 #9D34DC

Accessibility & contrast

On white

11.44
#58167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#58167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58167F
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58167F#FFFFFF#000000##FFFFFF
##58167F1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#52314B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #58167f;
/* rgb */ color: rgb(88, 22, 127);
/* oklch */ color: oklch(36.8% 0.164 308.6);
Tailwind
colors: {
  custom: {
    50: '#8c5ca5',
    500: '#58167f',
    950: '#000000',
  },
}
SCSS
$custom: #58167f;
$custom-light: #8c5ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#58167f",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 277.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36839,
    "c": 0.16415,
    "h": 308.6
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#58167F
secondary
#69B43D
accent
#ED3B7D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #58167F

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

Preview Lab → · Contrast checker → · Palette generator →

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