#58177B#58177B

#58177B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.159 H 310.1°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#58177B
RGBrgb(88, 23, 123)
HSLhsl(279, 68%, 29%)
HSVhsv(279, 81%, 48%)
CMYKcmyk(28.5%, 81.3%, 0%, 51.8%)
CIE-LABlab(24.06, 45.60, -42.92)
CIE-LCHlch(24.06, 62.62, 316.73°)
OKLaboklab(36.59% 0.1026 -0.1218)
OKLCHoklch(36.59% 0.159 310.1)
XYZxyz(7.9053, 4.1177, 19.1134)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58177B #3A7B17
analogous
#26177B #58177B #7B176C
triadic
#58177B #7B5817 #177B58
tetradic
#58177B #7B2617 #3A7B17 #176C7B
square
#58177B #7B2617 #3A7B17 #176C7B
split-complementary
#58177B #6C7B17 #177B26
monochromatic
#12051A #330D47 #58177B #7D21AF #9F33D9

Accessibility & contrast

On white

11.52
#58177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#58177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58177B
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58177B#FFFFFF#000000##FFFFFF
##58177B1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#533049
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #58177b;
/* rgb */ color: rgb(88, 23, 123);
/* oklch */ color: oklch(36.6% 0.159 310.1);
Tailwind
colors: {
  custom: {
    50: '#8b5da2',
    500: '#58177b',
    950: '#000000',
  },
}
SCSS
$custom: #58177b;
$custom-light: #8b5da2;
$custom-dark: #000000;
JSON
{
  "hex": "#58177b",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 279,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36593,
    "c": 0.15924,
    "h": 310.1
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#58177B
secondary
#66B03E
accent
#EB3C7A
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #58177B

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

Preview Lab → · Contrast checker → · Palette generator →

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