#58174F#58174F

#58174F is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.5% C 0.118 H 334.0°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#58174F
RGBrgb(88, 23, 79)
HSLhsl(308, 59%, 22%)
HSVhsv(308, 74%, 35%)
CMYKcmyk(0%, 73.9%, 10.2%, 65.5%)
CIE-LABlab(21.03, 36.59, -18.94)
CIE-LCHlch(21.03, 41.20, 332.63°)
OKLaboklab(33.47% 0.106 -0.0518)
OKLCHoklch(33.47% 0.118 334)
XYZxyz(5.7422, 3.2525, 7.7210)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58174F #175820
analogous
#411758 #58174F #58172F
triadic
#58174F #4F5817 #174F58
tetradic
#58174F #584117 #175820 #172F58
square
#58174F #584117 #175820 #172F58
split-complementary
#58174F #2F5817 #175841
monochromatic
#180616 #270A23 #58174F #89247B #B930A6

Accessibility & contrast

On white

12.72
#58174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#58174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58174F
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58174F#FFFFFF#000000##FFFFFF
##58174F1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C51
Deuteranopia (green-blind)
#2C364D
Tritanopia (blue-blind)
#5C1C31
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #58174f;
/* rgb */ color: rgb(88, 23, 79);
/* oklch */ color: oklch(33.5% 0.118 334.0);
Tailwind
colors: {
  custom: {
    50: '#8a5b80',
    500: '#58174f',
    950: '#000000',
  },
}
SCSS
$custom: #58174f;
$custom-light: #8a5b80;
$custom-dark: #000000;
JSON
{
  "hex": "#58174f",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 308.308,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33471,
    "c": 0.11798,
    "h": 334
  },
  "luminance": 0.03252
}

Semantic roles & 50–950 ramp

primary
#58174F
secondary
#3C8F47
accent
#E25C46
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #58174F

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

Preview Lab → · Contrast checker → · Palette generator →

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