#58175E#58175E

#58175E is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.131 H 324.3°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#58175E
RGBrgb(88, 23, 94)
HSLhsl(295, 61%, 23%)
HSVhsv(295, 76%, 37%)
CMYKcmyk(6.4%, 75.5%, 0%, 63.1%)
CIE-LABlab(21.93, 39.41, -27.55)
CIE-LCHlch(21.93, 48.08, 325.04°)
OKLaboklab(34.41% 0.1066 -0.0767)
OKLCHoklch(34.41% 0.131 324.3)
XYZxyz(6.3511, 3.4960, 10.9278)
Luminance0.0350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58175E #1D5E17
analogous
#35175E #58175E #5E1740
triadic
#58175E #5E5817 #175E58
tetradic
#58175E #5E3517 #1D5E17 #17405E
square
#58175E #5E3517 #1D5E17 #17405E
split-complementary
#58175E #405E17 #175E35
monochromatic
#170619 #2A0B2D #58175E #86238F #B42FC0

Accessibility & contrast

On white

12.36
#58175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#58175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58175E
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58175E#FFFFFF#000000##FFFFFF
##58175E1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033060
Deuteranopia (green-blind)
#24375C
Tritanopia (blue-blind)
#5A2339
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #58175e;
/* rgb */ color: rgb(88, 23, 94);
/* oklch */ color: oklch(34.4% 0.131 324.3);
Tailwind
colors: {
  custom: {
    50: '#8a5b8c',
    500: '#58175e',
    950: '#000000',
  },
}
SCSS
$custom: #58175e;
$custom-light: #8a5b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#58175e",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 294.93,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34412,
    "c": 0.13136,
    "h": 324.3
  },
  "luminance": 0.03496
}

Semantic roles & 50–950 ramp

primary
#58175E
secondary
#44953C
accent
#E44451
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #58175E

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

Preview Lab → · Contrast checker → · Palette generator →

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