#58166F#58166F

#58166F is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.149 H 315.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#58166F
RGBrgb(88, 22, 111)
HSLhsl(284, 67%, 26%)
HSVhsv(284, 80%, 44%)
CMYKcmyk(20.7%, 80.2%, 0%, 56.5%)
CIE-LABlab(22.99, 43.32, -36.96)
CIE-LCHlch(22.99, 56.95, 319.53°)
OKLaboklab(35.54% 0.106 -0.1043)
OKLCHoklch(35.54% 0.149 315.5)
XYZxyz(7.1802, 3.7965, 15.3904)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58166F #2D6F16
analogous
#2B166F #58166F #6F1659
triadic
#58166F #6F5816 #166F58
tetradic
#58166F #6F2B16 #2D6F16 #16596F
square
#58166F #6F2B16 #2D6F16 #16596F
split-complementary
#58166F #596F16 #166F2B
monochromatic
#14051A #300C3C #58166F #8020A2 #A92BD5

Accessibility & contrast

On white

11.94
#58166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#58166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58166F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58166F#FFFFFF#000000##FFFFFF
##58166F1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#13396D
Tritanopia (blue-blind)
#562A42
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #58166f;
/* rgb */ color: rgb(88, 22, 111);
/* oklch */ color: oklch(35.5% 0.149 315.5);
Tailwind
colors: {
  custom: {
    50: '#8b5c99',
    500: '#58166f',
    950: '#000000',
  },
}
SCSS
$custom: #58166f;
$custom-light: #8b5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#58166f",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 284.494,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35544,
    "c": 0.14865,
    "h": 315.5
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

primary
#58166F
secondary
#57A53C
accent
#EA3E6A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #58166F

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

Preview Lab → · Contrast checker → · Palette generator →

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