#58168D#58168D

#58168D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.178 H 303.6°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#58168D
RGBrgb(88, 22, 141)
HSLhsl(273, 73%, 32%)
HSVhsv(273, 84%, 55%)
CMYKcmyk(37.6%, 84.4%, 0%, 44.7%)
CIE-LABlab(25.48, 50.11, -51.92)
CIE-LCHlch(25.48, 72.15, 313.98°)
OKLaboklab(38.06% 0.0983 -0.1482)
OKLCHoklch(38.06% 0.178 303.6)
XYZxyz(9.1180, 4.5716, 25.5962)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58168D #4B8D16
analogous
#1C168D #58168D #8D1687
triadic
#58168D #8D5816 #168D58
tetradic
#58168D #8D1C16 #4B8D16 #16878D
square
#58168D #8D1C16 #4B8D16 #16878D
split-complementary
#58168D #878D16 #168D1C
monochromatic
#160523 #370E58 #58168D #791EC2 #983DE1

Accessibility & contrast

On white

10.97
#58168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#58168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58168D
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58168D#FFFFFF#000000##FFFFFF
##58168D1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#4D3853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #58168d;
/* rgb */ color: rgb(88, 22, 141);
/* oklch */ color: oklch(38.1% 0.178 303.6);
Tailwind
colors: {
  custom: {
    50: '#8d5daf',
    500: '#58168d',
    950: '#000000',
  },
}
SCSS
$custom: #58168d;
$custom-light: #8d5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#58168d",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 273.277,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38062,
    "c": 0.17786,
    "h": 303.6
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#58168D
secondary
#78C13E
accent
#F0388A
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58168D

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

Preview Lab → · Contrast checker → · Palette generator →

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