#58166B#58166B

#58166B is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.145 H 317.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#58166B
RGBrgb(88, 22, 107)
HSLhsl(287, 66%, 25%)
HSVhsv(287, 79%, 42%)
CMYKcmyk(17.8%, 79.4%, 0%, 58%)
CIE-LABlab(22.69, 42.47, -34.85)
CIE-LCHlch(22.69, 54.94, 320.62°)
OKLaboklab(35.24% 0.1066 -0.0981)
OKLCHoklch(35.24% 0.145 317.4)
XYZxyz(6.9649, 3.7104, 14.2564)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58166B #296B16
analogous
#2D166B #58166B #6B1653
triadic
#58166B #6B5816 #166B58
tetradic
#58166B #6B2D16 #296B16 #16536B
square
#58166B #6B2D16 #296B16 #16536B
split-complementary
#58166B #536B16 #166B2D
monochromatic
#150519 #2E0C38 #58166B #82209E #AB2BD1

Accessibility & contrast

On white

12.06
#58166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#58166B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58166B
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58166B#FFFFFF#000000##FFFFFF
##58166B1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#183869
Tritanopia (blue-blind)
#572840
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #58166b;
/* rgb */ color: rgb(88, 22, 107);
/* oklch */ color: oklch(35.2% 0.145 317.4);
Tailwind
colors: {
  custom: {
    50: '#8a5b96',
    500: '#58166b',
    950: '#000000',
  },
}
SCSS
$custom: #58166b;
$custom-light: #8a5b96;
$custom-dark: #000000;
JSON
{
  "hex": "#58166b",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 286.588,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3524,
    "c": 0.14483,
    "h": 317.4
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#58166B
secondary
#52A13B
accent
#E93F65
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58166B

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

Preview Lab → · Contrast checker → · Palette generator →

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