#58177D#58177D

#58177D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.161 H 309.3°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#58177D
RGBrgb(88, 23, 125)
HSLhsl(278, 69%, 29%)
HSVhsv(278, 82%, 49%)
CMYKcmyk(29.6%, 81.6%, 0%, 51%)
CIE-LABlab(24.22, 46.05, -43.92)
CIE-LCHlch(24.22, 63.64, 316.35°)
OKLaboklab(36.76% 0.1021 -0.1247)
OKLCHoklch(36.76% 0.161 309.3)
XYZxyz(8.0318, 4.1683, 19.7795)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58177D #3C7D17
analogous
#25177D #58177D #7D176F
triadic
#58177D #7D5817 #177D58
tetradic
#58177D #7D2517 #3C7D17 #176F7D
square
#58177D #7D2517 #3C7D17 #176F7D
split-complementary
#58177D #6F7D17 #177D25
monochromatic
#12051A #340D49 #58177D #7C21B1 #9E35DA

Accessibility & contrast

On white

11.45
#58177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#58177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58177D
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58177D#FFFFFF#000000##FFFFFF
##58177D1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#52314A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #58177d;
/* rgb */ color: rgb(88, 23, 125);
/* oklch */ color: oklch(36.8% 0.161 309.3);
Tailwind
colors: {
  custom: {
    50: '#8c5da3',
    500: '#58177d',
    950: '#000000',
  },
}
SCSS
$custom: #58177d;
$custom-light: #8c5da3;
$custom-dark: #000000;
JSON
{
  "hex": "#58177d",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 278.235,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36759,
    "c": 0.1612,
    "h": 309.3
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#58177D
secondary
#68B23E
accent
#EC3C7C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #58177D

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

Preview Lab → · Contrast checker → · Palette generator →

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