#58167D#58167D

#58167D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.162 H 309.4°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#58167D
RGBrgb(88, 22, 125)
HSLhsl(278, 70%, 29%)
HSVhsv(278, 82%, 49%)
CMYKcmyk(29.6%, 82.4%, 0%, 51%)
CIE-LABlab(24.09, 46.41, -44.13)
CIE-LCHlch(24.09, 64.04, 316.45°)
OKLaboklab(36.67% 0.103 -0.1253)
OKLCHoklch(36.67% 0.162 309.4)
XYZxyz(8.0123, 4.1294, 19.7730)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58167D #3B7D16
analogous
#25167D #58167D #7D166F
triadic
#58167D #7D5816 #167D58
tetradic
#58167D #7D2516 #3B7D16 #166F7D
square
#58167D #7D2516 #3B7D16 #166F7D
split-complementary
#58167D #6F7D16 #167D25
monochromatic
#12051A #330D49 #58167D #7D1FB1 #9E32DB

Accessibility & contrast

On white

11.50
#58167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58167D
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58167D#FFFFFF#000000##FFFFFF
##58167D1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#52304A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #58167d;
/* rgb */ color: rgb(88, 22, 125);
/* oklch */ color: oklch(36.7% 0.162 309.4);
Tailwind
colors: {
  custom: {
    50: '#8c5ca3',
    500: '#58167d',
    950: '#000000',
  },
}
SCSS
$custom: #58167d;
$custom-light: #8c5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#58167d",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 278.447,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36671,
    "c": 0.1622,
    "h": 309.4
  },
  "luminance": 0.04129
}

Semantic roles & 50–950 ramp

primary
#58167D
secondary
#67B23D
accent
#ED3B7B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #58167D

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

Preview Lab → · Contrast checker → · Palette generator →

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