#58168F#58168F

#58168F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.180 H 302.9°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#58168F
RGBrgb(88, 22, 143)
HSLhsl(273, 73%, 32%)
HSVhsv(273, 85%, 56%)
CMYKcmyk(38.5%, 84.6%, 0%, 43.9%)
CIE-LABlab(25.66, 50.58, -52.87)
CIE-LCHlch(25.66, 73.16, 313.73°)
OKLaboklab(38.24% 0.0977 -0.151)
OKLCHoklch(38.24% 0.18 302.9)
XYZxyz(9.2682, 4.6317, 26.3870)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58168F #4D8F16
analogous
#1B168F #58168F #8F168A
triadic
#58168F #8F5816 #168F58
tetradic
#58168F #8F1B16 #4D8F16 #168A8F
square
#58168F #8F1B16 #4D8F16 #168A8F
split-complementary
#58168F #8A8F16 #168F1B
monochromatic
#170625 #370E5A #58168F #791EC4 #973EE1

Accessibility & contrast

On white

10.90
#58168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#58168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58168F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58168F#FFFFFF#000000##FFFFFF
##58168F1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#4C3954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58168f;
/* rgb */ color: rgb(88, 22, 143);
/* oklch */ color: oklch(38.2% 0.180 302.9);
Tailwind
colors: {
  custom: {
    50: '#8d5db1',
    500: '#58168f',
    950: '#000000',
  },
}
SCSS
$custom: #58168f;
$custom-light: #8d5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#58168f",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 272.727,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38243,
    "c": 0.17982,
    "h": 302.9
  },
  "luminance": 0.04632
}

Semantic roles & 50–950 ramp

primary
#58168F
secondary
#7AC13F
accent
#F0388C
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #58168F

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

Preview Lab → · Contrast checker → · Palette generator →

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