#58168A#58168A

#58168A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.175 H 304.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#58168A
RGBrgb(88, 22, 138)
HSLhsl(274, 73%, 31%)
HSVhsv(274, 84%, 54%)
CMYKcmyk(36.2%, 84.1%, 0%, 45.9%)
CIE-LABlab(25.21, 49.40, -50.49)
CIE-LCHlch(25.21, 70.64, 314.38°)
OKLaboklab(37.79% 0.0993 -0.144)
OKLCHoklch(37.79% 0.175 304.6)
XYZxyz(8.8978, 4.4835, 24.4365)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58168A #488A16
analogous
#1E168A #58168A #8A1682
triadic
#58168A #8A5816 #168A58
tetradic
#58168A #8A1E16 #488A16 #16828A
square
#58168A #8A1E16 #488A16 #16828A
split-complementary
#58168A #828A16 #168A1E
monochromatic
#150520 #360E55 #58168A #7A1EBF #993BE0

Accessibility & contrast

On white

11.07
#58168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#58168A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58168A
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58168A#FFFFFF#000000##FFFFFF
##58168A1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#4E3651
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #58168a;
/* rgb */ color: rgb(88, 22, 138);
/* oklch */ color: oklch(37.8% 0.175 304.6);
Tailwind
colors: {
  custom: {
    50: '#8d5dad',
    500: '#58168a',
    950: '#000000',
  },
}
SCSS
$custom: #58168a;
$custom-light: #8d5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#58168a",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 274.138,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37794,
    "c": 0.17492,
    "h": 304.6
  },
  "luminance": 0.04484
}

Semantic roles & 50–950 ramp

primary
#58168A
secondary
#75BE3E
accent
#EF3987
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58168A

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

Preview Lab → · Contrast checker → · Palette generator →

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