#58167E#58167E

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

Color values

HEX#58167E
RGBrgb(88, 22, 126)
HSLhsl(278, 70%, 29%)
HSVhsv(278, 83%, 49%)
CMYKcmyk(30.2%, 82.5%, 0%, 50.6%)
CIE-LABlab(24.18, 46.64, -44.63)
CIE-LCHlch(24.18, 64.55, 316.26°)
OKLaboklab(36.75% 0.1027 -0.1268)
OKLCHoklch(36.75% 0.163 309)
XYZxyz(8.0765, 4.1550, 20.1112)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58167E #3C7E16
analogous
#24167E #58167E #7E1670
triadic
#58167E #7E5816 #167E58
tetradic
#58167E #7E2416 #3C7E16 #16707E
square
#58167E #7E2416 #3C7E16 #16707E
split-complementary
#58167E #707E16 #167E24
monochromatic
#12051A #340D4A #58167E #7C1FB2 #9E33DB

Accessibility & contrast

On white

11.47
#58167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#58167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58167E
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58167E#FFFFFF#000000##FFFFFF
##58167E1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#52314A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #58167e;
/* rgb */ color: rgb(88, 22, 126);
/* oklch */ color: oklch(36.8% 0.163 309.0);
Tailwind
colors: {
  custom: {
    50: '#8c5ca4',
    500: '#58167e',
    950: '#000000',
  },
}
SCSS
$custom: #58167e;
$custom-light: #8c5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#58167e",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 278.077,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36755,
    "c": 0.16318,
    "h": 309
  },
  "luminance": 0.04155
}

Semantic roles & 50–950 ramp

primary
#58167E
secondary
#68B33D
accent
#ED3B7C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #58167E

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

Preview Lab → · Contrast checker → · Palette generator →

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