#58177F#58177F

#58177F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.163 H 308.5°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#58177F
RGBrgb(88, 23, 127)
HSLhsl(278, 69%, 29%)
HSVhsv(278, 82%, 50%)
CMYKcmyk(30.7%, 81.9%, 0%, 50.2%)
CIE-LABlab(24.39, 46.51, -44.92)
CIE-LCHlch(24.39, 64.66, 315.99°)
OKLaboklab(36.93% 0.1016 -0.1277)
OKLCHoklch(36.93% 0.163 308.5)
XYZxyz(8.1609, 4.2199, 20.4592)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58177F #3E7F17
analogous
#24177F #58177F #7F1772
triadic
#58177F #7F5817 #177F58
tetradic
#58177F #7F2417 #3E7F17 #17727F
square
#58177F #7F2417 #3E7F17 #17727F
split-complementary
#58177F #727F17 #177F24
monochromatic
#12051A #340E4B #58177F #7C20B3 #9D36DB

Accessibility & contrast

On white

11.39
#58177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58177F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58177F#FFFFFF#000000##FFFFFF
##58177F1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#52324B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #58177f;
/* rgb */ color: rgb(88, 23, 127);
/* oklch */ color: oklch(36.9% 0.163 308.5);
Tailwind
colors: {
  custom: {
    50: '#8c5da5',
    500: '#58177f',
    950: '#000000',
  },
}
SCSS
$custom: #58177f;
$custom-light: #8c5da5;
$custom-dark: #000000;
JSON
{
  "hex": "#58177f",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 277.5,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36926,
    "c": 0.16317,
    "h": 308.5
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

primary
#58177F
secondary
#6AB43E
accent
#EC3C7E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #58177F

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

Preview Lab → · Contrast checker → · Palette generator →

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