#58168C#58168C

#58168C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 38.0% C 0.177 H 303.9°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#58168C
RGBrgb(88, 22, 140)
HSLhsl(274, 73%, 32%)
HSVhsv(274, 84%, 55%)
CMYKcmyk(37.1%, 84.3%, 0%, 45.1%)
CIE-LABlab(25.39, 49.87, -51.45)
CIE-LCHlch(25.39, 71.65, 314.11°)
OKLaboklab(37.97% 0.0986 -0.1468)
OKLCHoklch(37.97% 0.177 303.9)
XYZxyz(9.0439, 4.5420, 25.2061)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58168C #4A8C16
analogous
#1D168C #58168C #8C1685
triadic
#58168C #8C5816 #168C58
tetradic
#58168C #8C1D16 #4A8C16 #16858C
square
#58168C #8C1D16 #4A8C16 #16858C
split-complementary
#58168C #858C16 #168C1D
monochromatic
#160522 #370E57 #58168C #791EC1 #983CE0

Accessibility & contrast

On white

11.00
#58168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58168C
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58168C#FFFFFF#000000##FFFFFF
##58168C1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#4D3753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #58168c;
/* rgb */ color: rgb(88, 22, 140);
/* oklch */ color: oklch(38.0% 0.177 303.9);
Tailwind
colors: {
  custom: {
    50: '#8d5daf',
    500: '#58168c',
    950: '#000000',
  },
}
SCSS
$custom: #58168c;
$custom-light: #8d5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#58168c",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 273.559,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37973,
    "c": 0.17687,
    "h": 303.9
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#58168C
secondary
#77C03E
accent
#F03889
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58168C

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

Preview Lab → · Contrast checker → · Palette generator →

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