#58177E#58177E

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

Color values

HEX#58177E
RGBrgb(88, 23, 126)
HSLhsl(278, 69%, 29%)
HSVhsv(278, 82%, 49%)
CMYKcmyk(30.2%, 81.7%, 0%, 50.6%)
CIE-LABlab(24.30, 46.28, -44.42)
CIE-LCHlch(24.30, 64.15, 316.17°)
OKLaboklab(36.84% 0.1019 -0.1262)
OKLCHoklch(36.84% 0.162 308.9)
XYZxyz(8.0960, 4.1940, 20.1176)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58177E #3D7E17
analogous
#24177E #58177E #7E1771
triadic
#58177E #7E5817 #177E58
tetradic
#58177E #7E2417 #3D7E17 #17717E
square
#58177E #7E2417 #3D7E17 #17717E
split-complementary
#58177E #717E17 #177E24
monochromatic
#12051A #340E4A #58177E #7C20B2 #9D35DA

Accessibility & contrast

On white

11.42
#58177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#58177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58177E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58177E#FFFFFF#000000##FFFFFF
##58177E1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#52314B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #58177e;
/* rgb */ color: rgb(88, 23, 126);
/* oklch */ color: oklch(36.8% 0.162 308.9);
Tailwind
colors: {
  custom: {
    50: '#8c5da4',
    500: '#58177e',
    950: '#000000',
  },
}
SCSS
$custom: #58177e;
$custom-light: #8c5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#58177e",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 277.864,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36842,
    "c": 0.16219,
    "h": 308.9
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

primary
#58177E
secondary
#69B33E
accent
#EC3C7D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #58177E

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

Preview Lab → · Contrast checker → · Palette generator →

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