#58167B#58167B

#58167B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.160 H 310.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#58167B
RGBrgb(88, 22, 123)
HSLhsl(279, 70%, 28%)
HSVhsv(279, 82%, 48%)
CMYKcmyk(28.5%, 82.1%, 0%, 51.8%)
CIE-LABlab(23.93, 45.96, -43.13)
CIE-LCHlch(23.93, 63.03, 316.82°)
OKLaboklab(36.5% 0.1035 -0.1224)
OKLCHoklch(36.5% 0.16 310.2)
XYZxyz(7.8859, 4.0788, 19.1069)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58167B #397B16
analogous
#25167B #58167B #7B166B
triadic
#58167B #7B5816 #167B58
tetradic
#58167B #7B2516 #397B16 #166B7B
square
#58167B #7B2516 #397B16 #166B7B
split-complementary
#58167B #6B7B16 #167B25
monochromatic
#13051A #330D47 #58167B #7D1FAF #A031DA

Accessibility & contrast

On white

11.57
#58167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#58167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58167B
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58167B#FFFFFF#000000##FFFFFF
##58167B1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#533049
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #58167b;
/* rgb */ color: rgb(88, 22, 123);
/* oklch */ color: oklch(36.5% 0.160 310.2);
Tailwind
colors: {
  custom: {
    50: '#8b5ca2',
    500: '#58167b',
    950: '#000000',
  },
}
SCSS
$custom: #58167b;
$custom-light: #8b5ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#58167b",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 279.208,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36505,
    "c": 0.16026,
    "h": 310.2
  },
  "luminance": 0.04079
}

Semantic roles & 50–950 ramp

primary
#58167B
secondary
#65B03D
accent
#EC3B79
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #58167B

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

Preview Lab → · Contrast checker → · Palette generator →

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