#58168B#58168B

#58168B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.176 H 304.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#58168B
RGBrgb(88, 22, 139)
HSLhsl(274, 73%, 32%)
HSVhsv(274, 84%, 55%)
CMYKcmyk(36.7%, 84.2%, 0%, 45.5%)
CIE-LABlab(25.30, 49.64, -50.97)
CIE-LCHlch(25.30, 71.14, 314.24°)
OKLaboklab(37.88% 0.099 -0.1454)
OKLCHoklch(37.88% 0.176 304.2)
XYZxyz(8.9705, 4.5126, 24.8195)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58168B #498B16
analogous
#1D168B #58168B #8B1684
triadic
#58168B #8B5816 #168B58
tetradic
#58168B #8B1D16 #498B16 #16848B
square
#58168B #8B1D16 #498B16 #16848B
split-complementary
#58168B #848B16 #168B1D
monochromatic
#150521 #370E56 #58168B #791EC0 #983BE0

Accessibility & contrast

On white

11.04
#58168B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58168B
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58168B#FFFFFF#000000##FFFFFF
##58168B1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#4E3752
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #58168b;
/* rgb */ color: rgb(88, 22, 139);
/* oklch */ color: oklch(37.9% 0.176 304.2);
Tailwind
colors: {
  custom: {
    50: '#8d5dae',
    500: '#58168b',
    950: '#000000',
  },
}
SCSS
$custom: #58168b;
$custom-light: #8d5dae;
$custom-dark: #000000;
JSON
{
  "hex": "#58168b",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 139
  },
  "hsl": {
    "h": 273.846,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37883,
    "c": 0.17589,
    "h": 304.2
  },
  "luminance": 0.04513
}

Semantic roles & 50–950 ramp

primary
#58168B
secondary
#76BF3E
accent
#EF3888
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58168B

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

Preview Lab → · Contrast checker → · Palette generator →

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